From a88f613da7e5567dbfdebd7df94f94507c47c6b5 Mon Sep 17 00:00:00 2001 From: Michael Hunteman Date: Fri, 27 Sep 2024 08:43:02 -0700 Subject: Add vitests --- client/src/slices/snackbarSlice.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src/slices') 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 = { -- cgit v1.2.3