|
|
@ -25,8 +25,7 @@ export function GithubSettings (props: GithubSettingsProps) { |
|
|
|
}, [props.config]) |
|
|
|
}, [props.config]) |
|
|
|
|
|
|
|
|
|
|
|
const handleChangeTokenState = (event) => { |
|
|
|
const handleChangeTokenState = (event) => { |
|
|
|
const token = event.target.value ? event.target.value.trim() : event.target.value |
|
|
|
setGithubToken(event.target.value) |
|
|
|
setGithubToken(token) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const handleChangeUserNameState = (event) => { |
|
|
|
const handleChangeUserNameState = (event) => { |
|
|
|