Skip to content

Commit be38654

Browse files
authored
Merge pull request #267 from ItRecode/fix
[FE-250]fix: ๋‚ด ๋Œ“๊ธ€๊ด€๋ฆฌ ๋กœ๋”ฉ์ƒํƒœ ์ถ”๊ฐ€
2 parents 90e0e7f + d54f101 commit be38654

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

โ€Žsrc/pages/Setting/ManageComment/ManageComment.tsxโ€Ž

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ import {
1212
getFormattedDateByString,
1313
} from '@utils/getFormattedDate'
1414
import SmallToast from '@components/SmallToast'
15+
import Loading from '@components/Loading'
1516

1617
function ManageComment() {
1718
const navigate = useNavigate()
1819

19-
const { data, isSuccess } = useQuery(
20+
const { data, isLoading, isSuccess } = useQuery(
2021
['getMyReply'],
2122
() => getMyReply(0, 10),
2223
{
@@ -95,6 +96,11 @@ function ManageComment() {
9596
}
9697
return 'w-full'
9798
}
99+
100+
if (isLoading) {
101+
return <Loading />
102+
}
103+
98104
return (
99105
<div className="relative h-full px-6">
100106
{isToast && (

0 commit comments

Comments
ย (0)