From a7a9f01fd99a1c4683786c5cbbb8bd9abdfca00d Mon Sep 17 00:00:00 2001 From: noahspannbauer Date: Sat, 18 Apr 2026 11:09:50 -0700 Subject: [PATCH] 126 all logs shown when unauthenticated (#129) * fixing all logs showing when user is unauthenticated * updating api log interceptor * updating api log interceptor --- client/src/components/logbook/Logbook.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/components/logbook/Logbook.tsx b/client/src/components/logbook/Logbook.tsx index 5d122f7..8fcfefc 100644 --- a/client/src/components/logbook/Logbook.tsx +++ b/client/src/components/logbook/Logbook.tsx @@ -528,8 +528,8 @@ const Logbook: React.FC = () => { }, [state.totalEntries, state.pagination?.pageSize]) useEffect(() => { - console.log(state.pagination) - }, [state.pagination]) + console.log(state) + }, [state]) return ( <> @@ -554,7 +554,7 @@ const Logbook: React.FC = () => { onClose={() => dispatch({ type: 'SET_ALERT', payload: undefined }) } - severity={'info'} + severity={state.alert.severity} > {state.alert.message}