From c2990c20cb877831ddfb456f2d1fac1b65136541 Mon Sep 17 00:00:00 2001 From: Amin <69254513+AminGh05@users.noreply.github.com> Date: Sat, 7 Jun 2025 00:08:56 +0330 Subject: [PATCH] Update Session07 Frontend.md fixed minor bugs --- 02_ProjectOrientedSessions/Session07/Session07 Frontend.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/02_ProjectOrientedSessions/Session07/Session07 Frontend.md b/02_ProjectOrientedSessions/Session07/Session07 Frontend.md index cc07927..5d2fd3d 100644 --- a/02_ProjectOrientedSessions/Session07/Session07 Frontend.md +++ b/02_ProjectOrientedSessions/Session07/Session07 Frontend.md @@ -1,6 +1,6 @@ # Branching - - [ ] Create the feature/authentication branch based on develop +- [ ] Create the feature/authentication branch based on develop # Adding Models Create three files inside this folder: @@ -61,7 +61,7 @@ import {create} from 'zustand'; interface User {   phoneNumber: string; -  roles: any; +  roles: string[]; } @@ -161,7 +161,7 @@ This defines the overall structure of the authentication store: ## 🔹 Zustand Store Definition ```ts -export const useAuthStore = create((set) => ({ +export const useAuthStore = create((set) => ({ ... }); ``` Creates a global auth store using Zustand. `create()` accepts a function that receives `set` (used to update state) and returns the initial store state and methods.