local storage clear set fix
This commit is contained in:
parent
d9e932ce8c
commit
dcbc288faf
@ -45,7 +45,7 @@ export function AuthProvider({ children }: { children: ReactNode }) {
|
||||
setUserEmail(null);
|
||||
setIsAdmin(false);
|
||||
setRoles([]);
|
||||
localStorage.removeItem('krishna_sales_user_email');
|
||||
localStorage.clear();
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@ -38,7 +38,7 @@ export function DailyLogsPage() {
|
||||
<DailyLogsView
|
||||
mapComponent={mapComponent}
|
||||
refreshKey={refreshKey}
|
||||
presetAlias="my_logs"
|
||||
presetAlias=""
|
||||
onRowClick={(row) => {
|
||||
const id = row.instance_id as number | string | undefined;
|
||||
if (id != null) navigate(`/daily/${id}`);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user