trim github token

pull/3495/head
yann300 2 years ago
parent f1df94b62a
commit 10f2d64117
  1. 3
      libs/remix-ui/settings/src/lib/github-settings.tsx

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

Loading…
Cancel
Save