This website works better with JavaScript.
홈
탐색
도움말
가입하기
로그인
sosuke.iwabuchi
/
SATE-EasyReceipt-front
보기
1
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
0
위키
Activity
소스 검색
checkRoleの判定を修正
develop
sosuke.iwabuchi
2 년 전
부모
cfaad1641f
커밋
3848208658
1개의 변경된 파일
과
1개의 추가작업
그리고
1개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/contexts/AuthContext.tsx
+ 1
- 1
src/contexts/AuthContext.tsx
파일 보기
@@ -95,7 +95,7 @@ function AuthContextProvider({ children }: Props) {
const checkRole = (targetRole?: UserRole): boolean => {
if (targetRole === undefined) return true;
return targetRole < role;
return targetRole <
=
role;
};
useEffect(() => {
Write
Preview
Loading…
취소
저장