fix: loading indicator 속성 이름 fix

This commit is contained in:
jhynsoo 2024-08-01 17:19:28 +09:00
parent 1321e2ca1a
commit d3d325cf6f
4 changed files with 4 additions and 5 deletions

View File

@ -82,7 +82,7 @@ export default function LectureLayout() {
)}
</aside>
<main>
<Suspense fallback={<LoadingIndicator full />}>
<Suspense fallback={<LoadingIndicator fill />}>
<Outlet />
</Suspense>
</main>

View File

@ -9,7 +9,7 @@ export default function LiveLayout() {
<>
<LiveHeader />
<div className={styles.wrapper}>
<Suspense fallback={<LoadingIndicator full />}>
<Suspense fallback={<LoadingIndicator fill />}>
<Outlet />
</Suspense>
</div>

View File

@ -22,8 +22,7 @@ export default function MyPageLayout() {
</SideBar>
</aside>
<main>
{/* TODO: 로딩 컴포넌트 추가 */}
<Suspense fallback={<LoadingIndicator full />}>
<Suspense fallback={<LoadingIndicator fill />}>
<Outlet />
</Suspense>
</main>

View File

@ -6,6 +6,6 @@ export default function LoadingIndicator({ fill = false }) {
<div className={styles.indicator} />
</div>
) : (
<div />
<div className={styles.indicator} />
);
}