Skip to content

Commit

Permalink
feat: admin 계정 선택 못하도록 방지
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoribogo committed Nov 30, 2023
1 parent 28ec0f6 commit be6bb43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/apis/hooks/useGetAllUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const useGetAllUser = () => {
return useSuspenseQuery({
queryKey: ['/members'],
queryFn: getAllUser,
select: (response) => response.filter((user) => user.name !== 'admin'),
})
}

Expand Down

0 comments on commit be6bb43

Please sign in to comment.