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}