1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-11 03:41:12 +00:00

feat: react warning (#7467)

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
杨国璇
2025-02-17 11:50:29 +08:00
committed by GitHub
parent 91b9a7840f
commit 06410d217d
33 changed files with 105 additions and 154 deletions

View File

@@ -25,6 +25,7 @@ class TransferGroupDialog extends React.Component {
errMessage: '',
};
this.options = [];
this.userSelect = React.createRef();
}
handleSelectChange = (option) => {
@@ -63,7 +64,7 @@ class TransferGroupDialog extends React.Component {
<ModalBody>
<p>{gettext('Transfer group to')}</p>
<UserSelect
ref="userSelect"
ref={this.userSelect}
isMulti={false}
placeholder={gettext('Please enter 1 or more character')}
onSelectChange={this.handleSelectChange}