Skip to content

Commit

Permalink
chore: 타입 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
WayneKim92 committed Sep 24, 2024
1 parent bfeb534 commit cf1ff2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useMapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const usePageKeyMapper = <T>() => {
set: (page: number, key: T) => {
map.set(page, key);
},
get: (page: string) => map.get(page),
get: (page: number) => map.get(page),
clear: () => map.clear(),
};
};

0 comments on commit cf1ff2c

Please sign in to comment.