mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Fix build error
This commit is contained in:
parent
dd78f7c12b
commit
a6cd3a1a5f
@ -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…
x
Reference in New Issue
Block a user