mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-06 21:22:36 +00:00
chore: fix initial state
This commit is contained in:
@ -13,7 +13,9 @@ function App() {
|
||||
// Redirect to sign up page if no instance owner.
|
||||
useEffect(() => {
|
||||
if (!workspaceStore.profile.owner) {
|
||||
navigateTo("/auth/signup");
|
||||
navigateTo("/auth/signup", {
|
||||
replace: true,
|
||||
});
|
||||
}
|
||||
}, [workspaceStore.profile]);
|
||||
|
||||
|
Reference in New Issue
Block a user