Removed unnecessary action
This commit is contained in:
parent
7bb4fde73e
commit
54bf00e22c
@ -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;
|
||||
},
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user