diff --git a/src/auth/AuthProvider.tsx b/src/auth/AuthProvider.tsx index 25d8746..ae80f82 100644 --- a/src/auth/AuthProvider.tsx +++ b/src/auth/AuthProvider.tsx @@ -45,7 +45,7 @@ export function AuthProvider({ children }: { children: ReactNode }) { setUserEmail(null); setIsAdmin(false); setRoles([]); - localStorage.removeItem('krishna_sales_user_email'); + localStorage.clear(); }, }; diff --git a/src/screens/DailyLogsPage.tsx b/src/screens/DailyLogsPage.tsx index 31734dd..322eb6f 100644 --- a/src/screens/DailyLogsPage.tsx +++ b/src/screens/DailyLogsPage.tsx @@ -23,11 +23,11 @@ export function DailyLogsPage() { const mapComponent = (
- -

Activity Locations

+ +

Activity Locations

- +
); @@ -35,14 +35,14 @@ export function DailyLogsPage() { return ( <> {instanceId == null && ( - { const id = row.instance_id as number | string | undefined; if (id != null) navigate(`/daily/${id}`); - }} + }} headerActions={