mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
fix: onChange is more welcomed than onInput
This commit is contained in:
parent
c24824c99b
commit
f50af5c62d
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ export default class SettingsBar extends React.PureComponent<Props, State> {
|
|||
disabled={hasAccessToken}
|
||||
placeholder={hasAccessToken ? 'Your token is saved' : 'Input your token here'}
|
||||
value={accessToken}
|
||||
onInput={this.onInputAccessToken}
|
||||
onChange={this.onInputAccessToken}
|
||||
/>
|
||||
{hasAccessToken && !accessToken ? (
|
||||
<button className={'btn'} onClick={this.clearToken}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue