fix: routes

This commit is contained in:
reya
2024-06-19 14:22:45 +07:00
parent d14e609579
commit e1424b851c
4 changed files with 14 additions and 25 deletions

View File

@@ -26,11 +26,7 @@ function Screen() {
const remoteAccount = await NostrAccount.connectRemoteAccount(uri);
if (remoteAccount?.length) {
return navigate({
to: "/$account/home",
params: { account: remoteAccount },
replace: true,
});
navigate({ to: "/", replace: true });
}
} catch (e) {
setLoading(false);