Removed unnecessary action

This commit is contained in:
Jason Zhu 2023-05-19 19:42:02 +10:00
parent 7bb4fde73e
commit 54bf00e22c

View File

@ -186,7 +186,7 @@ export const infoDialogSlice: Slice<InfoDialogStateProps> = createSlice({
setIsOpen: (state, action: PayloadAction<boolean>) => {
state.isOpen = action.payload;
},
setCloseDialog: (state, action: PayloadAction<null>) => {
setCloseDialog: state => {
state.isOpen = false;
},
},