Fix build error

This commit is contained in:
Gabe Kangas 2021-01-04 20:46:27 -08:00
parent dd78f7c12b
commit a6cd3a1a5f

View file

@ -178,7 +178,7 @@ function NewTokenModal(props) {
props.onOk(name, selectedScopes)
}
const [name, setName] = useState([]);
const [name, setName] = useState('');
return (
<Modal title="Create New Access token" visible={props.visible} onOk={saveToken} onCancel={props.onCancel}>