Skip to content

Commit

Permalink
Fix: drawer 전역 상태 설정 소문자 setopen 선언 오류 수정(#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
ohinhyuk committed Sep 14, 2023
1 parent 7dba1f8 commit 18a60b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/common/Drawer/Drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import {
clearSemester,
clearStudentName,
} from 'src/redux/slices/filter';
import { setOpen, setPinned } from 'src/redux/slices/drawer';

const drawerWidth = 240;

Expand Down
2 changes: 1 addition & 1 deletion src/redux/slices/drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const slice = createSlice({
setPinned: (state, action) => {
state.pinned = action.payload;
},
setopen: (state, action) => {
setOpen: (state, action) => {
state.open = action.payload;
},
},
Expand Down

0 comments on commit 18a60b1

Please sign in to comment.