Close stream dialog starting new manual stream

This commit is contained in:
Kieran 2023-09-29 10:50:25 +01:00
parent 1a07577ecd
commit 11ead3e8bd
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -39,8 +39,9 @@ function NewStream({ ev, onFinish }: StreamEditorProps) {
location.href = `${__XXX_HOST}/${eventLink(ex)}`;
} else {
navigate(`/${eventLink(ex)}`, {
state: ev,
state: ex,
});
onFinish?.(ex);
}
} else {
onFinish?.(ev);