fix: simplify Loading component structure
This commit is contained in:
parent
238e0e28e8
commit
f1edb19b5a
3 changed files with 9 additions and 21 deletions
|
|
@ -1,11 +1,7 @@
|
||||||
export default function Loading() {
|
export default function Loading() {
|
||||||
return (
|
return (
|
||||||
<>
|
<div className="fixed top-0 left-0 flex justify-center items-center h-screen w-screen bg-gray-300 z-[999]">
|
||||||
(
|
<h1 className="text-4xl text-gray-900">Loading...</h1>
|
||||||
<div className="fixed top-0 left-0 flex justify-center items-center h-screen w-screen bg-gray-300 z-[999]">
|
</div>
|
||||||
<h1 className="text-4xl text-gray-900">Loading...</h1>
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,7 @@
|
||||||
export default function Loading() {
|
export default function Loading() {
|
||||||
return (
|
return (
|
||||||
<>
|
<div className="fixed top-0 left-0 flex justify-center items-center h-screen w-screen bg-gray-300 z-[999]">
|
||||||
(
|
<h1 className="text-4xl text-gray-900">Loading...</h1>
|
||||||
<div className="fixed top-0 left-0 flex justify-center items-center h-screen w-screen bg-gray-300 z-[999]">
|
</div>
|
||||||
<h1 className="text-4xl text-gray-900">Loading...</h1>
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,7 @@
|
||||||
export default function Loading() {
|
export default function Loading() {
|
||||||
return (
|
return (
|
||||||
<>
|
<div className="fixed top-0 left-0 flex justify-center items-center h-screen w-screen bg-gray-300 z-[999]">
|
||||||
(
|
<h1 className="text-4xl text-gray-900">Loading...</h1>
|
||||||
<div className="fixed top-0 left-0 flex justify-center items-center h-screen w-screen bg-gray-300 z-[999]">
|
</div>
|
||||||
<h1 className="text-4xl text-gray-900">Loading...</h1>
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue