summaryrefslogtreecommitdiff
path: root/client/src/slices/snackbarSlice.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/slices/snackbarSlice.ts')
-rw-r--r--client/src/slices/snackbarSlice.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/slices/snackbarSlice.ts b/client/src/slices/snackbarSlice.ts
index f76b133..82532ec 100644
--- a/client/src/slices/snackbarSlice.ts
+++ b/client/src/slices/snackbarSlice.ts
@@ -1,10 +1,11 @@
import { createSlice } from '@reduxjs/toolkit';
+import type { AlertColor } from '@mui/material/Alert/Alert';
import type { RootState } from '../store';
export interface SnackbarState {
open: boolean;
message: string;
- severity?: 'success' | 'error';
+ severity?: AlertColor;
}
const initialState: SnackbarState = {