Skip to content

Commit

Permalink
[Web] [Chore] 빌드에러 수정 (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
suwonthugger committed Nov 9, 2024
1 parent 203eeb8 commit 49e5cce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ import { ModalContentMainSetting } from '@/shared/components/modalContentMainSet
const page = () => {
return (
<Modal title="설정">
<ModalContentMainSetting
userSchool="userSchool"
userRegion="userRegion"
/>
<ModalContentMainSetting />
</Modal>
);
};
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/app/region/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ const RegionPage = () => {
: data?.pages.map((page) =>
page.regionList.map((user) => (
<button
key={user.regionlName}
onClick={() => {
handle지역선택(user.regionlName);
}}>
<RankBoard.ListItem
key={user.regionlName}
rank={user.regionRank}
name={user.regionlName}
score={user.regionScore}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/shared/apis/user/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const useGetUserExp = ({ username }: GetUserExp.Params) => {

export const useGetSuggestFriend = (isLoggedIn: boolean) => {
return useQuery({
queryKey: ['user', 'suggestFriend'],
queryKey: ['user', 'suggestFriend', isLoggedIn],
queryFn: () => getSuggestFriend(isLoggedIn),
});
};
Expand Down

0 comments on commit 49e5cce

Please sign in to comment.