126 all logs shown when unauthenticated (#129)

* fixing all logs showing when user is unauthenticated

* updating api log interceptor

* updating api log interceptor
This commit was merged in pull request #129.
This commit is contained in:
2026-04-18 11:09:50 -07:00
committed by GitHub
parent a367b517db
commit a7a9f01fd9

View File

@@ -528,8 +528,8 @@ const Logbook: React.FC<unknown> = () => {
}, [state.totalEntries, state.pagination?.pageSize]) }, [state.totalEntries, state.pagination?.pageSize])
useEffect(() => { useEffect(() => {
console.log(state.pagination) console.log(state)
}, [state.pagination]) }, [state])
return ( return (
<> <>
@@ -554,7 +554,7 @@ const Logbook: React.FC<unknown> = () => {
onClose={() => onClose={() =>
dispatch({ type: 'SET_ALERT', payload: undefined }) dispatch({ type: 'SET_ALERT', payload: undefined })
} }
severity={'info'} severity={state.alert.severity}
> >
{state.alert.message} {state.alert.message}
</Alert> </Alert>