mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 21:03:19 +03:00
Fix build error
This commit is contained in:
parent
dd78f7c12b
commit
a6cd3a1a5f
1 changed files with 1 additions and 1 deletions
|
@ -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}>
|
||||
|
|
Loading…
Reference in a new issue