diff options
author | Michael Hunteman <michael@huntm.net> | 2024-09-27 08:43:02 -0700 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-09-27 08:43:02 -0700 |
commit | a88f613da7e5567dbfdebd7df94f94507c47c6b5 (patch) | |
tree | b10a6c1640c11672a940f8fa71cdf3d3485135d4 /client/src/slices | |
parent | 7ccca5ca18200388d10fca33a1d7095a0abfcd36 (diff) |
Add vitests
Diffstat (limited to 'client/src/slices')
-rw-r--r-- | client/src/slices/snackbarSlice.ts | 3 |
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 = { |