fix: select manual when editing stream event
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
508abaad1f
commit
74c1a383b6
@ -17,7 +17,7 @@ function NewStream({ ev, onFinish }: StreamEditorProps) {
|
||||
|
||||
useEffect(() => {
|
||||
if (!currentProvider) {
|
||||
setCurrentProvider(providers.at(0));
|
||||
setCurrentProvider(ev !== undefined ? providers.find(a => a.name.toLowerCase() === "manual")! : providers.at(0));
|
||||
}
|
||||
}, [providers, currentProvider]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user