mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 21:03:19 +03:00
Typescript: limit tag to be a string not a number
This commit is contained in:
parent
ed80ac13b5
commit
e142fa9e7c
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ import {
|
|||
const { Title } = Typography;
|
||||
|
||||
export default function EditInstanceTags() {
|
||||
const [newTagInput, setNewTagInput] = useState<string | number>('');
|
||||
const [newTagInput, setNewTagInput] = useState<string>('');
|
||||
const [submitStatus, setSubmitStatus] = useState<StatusState>(null);
|
||||
|
||||
const serverStatusData = useContext(ServerStatusContext);
|
||||
|
|
Loading…
Reference in a new issue