fix: Multiplayer provider does not emit authenticationFailed for all instances

This commit is contained in:
Tom Moor
2025-11-03 20:22:48 -05:00
parent e4268c9a1f
commit 540b514702
@@ -164,6 +164,11 @@ function MultiplayerEditor({ onSynced, ...props }: Props, ref: any) {
if (ev.event.code === EditorUpdateError.code) {
setEditorVersionBehind(true);
}
if (ev.event.code === 4403) {
void auth.fetchAuth().catch(() => {
history.replace(homePath());
});
}
}
});