fix: stream editor

closes #180
This commit is contained in:
2024-09-17 11:27:32 +01:00
parent 645d04cd5c
commit f23c97fa0e
2 changed files with 3 additions and 1 deletions

View File

@ -71,7 +71,7 @@ export function StreamEditor({ ev, onFinish, options }: StreamEditorProps) {
} else if (gameId) {
new GameDatabase().getGame(gameId).then(setGame);
}
}, [ev?.id]);
}, []);
const validate = useCallback(() => {
if (title.length < 2) {