implemented user-adding
This commit is contained in:
@@ -34,6 +34,8 @@ export default function Main({ children }: { children: React.ReactNode }) {
|
||||
const response = await welcomeResult.json();
|
||||
|
||||
if (response.userName !== undefined && response.userName !== "") {
|
||||
void zustand.getState().getPendingEvents();
|
||||
|
||||
zustand.getState().reset({ user: response });
|
||||
|
||||
loggedIn = true;
|
||||
|
||||
Reference in New Issue
Block a user