File tree 3 files changed +3
-6
lines changed
3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ const CrewList = (): ReactElement => {
210
210
</ div >
211
211
212
212
{ /* list */ }
213
- { isLoading ? "로딩 중입니다..." : isError ? "데이터를 불러오는데 실패했습니다." : createGroupList ( data ?. data ) }
213
+ { isError ? "데이터를 불러오는데 실패했습니다." : createGroupList ( data ?. data ) }
214
214
</ div >
215
215
)
216
216
}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const JoinCrewModal = (props: ModalProps): React.ReactElement => {
14
14
const [ joinCode , setJoinCode ] = useState < string > ( "" )
15
15
const [ isCodeError , setIsCodeError ] = useState < boolean > ( false )
16
16
17
- const { data, isLoading , isError } = useGetGroup ( id )
17
+ const { data, isError } = useGetGroup ( id )
18
18
const joinGroupMutation = useJoinGroup ( )
19
19
20
20
const onChangeJoinCode = ( e : React . ChangeEvent < HTMLInputElement > ) : void => {
@@ -75,9 +75,7 @@ const JoinCrewModal = (props: ModalProps): React.ReactElement => {
75
75
76
76
return (
77
77
< ModalContainer onClose = { onClose } >
78
- { isLoading ? (
79
- "로딩 중입니다."
80
- ) : isError ? (
78
+ { isError ? (
81
79
"데이터를 불러오지 못했습니다."
82
80
) : (
83
81
< div className = "flex w-full flex-col items-center" >
Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ const AnalysisDashboard = () => {
94
94
</ div >
95
95
</ div >
96
96
97
- { isLoading && < div > 로딩 중입니다...</ div > }
98
97
{ isError && < div > 데이터를 불러오는 것에 실패했습니다</ div > }
99
98
100
99
{ ! isLoading && ! isError && todayAnalysis && (
You can’t perform that action at this time.
0 commit comments