diff --git a/src/features/InfoDialog/infoDialogSlice.ts b/src/features/InfoDialog/infoDialogSlice.ts index 0eef801..9eee2be 100644 --- a/src/features/InfoDialog/infoDialogSlice.ts +++ b/src/features/InfoDialog/infoDialogSlice.ts @@ -186,7 +186,7 @@ export const infoDialogSlice: Slice = createSlice({ setIsOpen: (state, action: PayloadAction) => { state.isOpen = action.payload; }, - setCloseDialog: (state, action: PayloadAction) => { + setCloseDialog: state => { state.isOpen = false; }, },