Commit 4657e58b authored by Steven's avatar Steven

chore: update loading section

parent 22971c3a
...@@ -44,7 +44,6 @@ const Explore = () => { ...@@ -44,7 +44,6 @@ const Explore = () => {
return ( return (
<section className="page-wrapper explore"> <section className="page-wrapper explore">
{loadingState.isLoading ? null : (
<div className="page-container"> <div className="page-container">
<div className="page-header"> <div className="page-header">
<img className="logo-img" src="/logo-full.webp" alt="" /> <img className="logo-img" src="/logo-full.webp" alt="" />
...@@ -60,6 +59,7 @@ const Explore = () => { ...@@ -60,6 +59,7 @@ const Explore = () => {
)} )}
</div> </div>
</div> </div>
{loadingState.isLoading ? null : (
<main className="memos-wrapper"> <main className="memos-wrapper">
{state.memos.map((memo) => { {state.memos.map((memo) => {
const createdAtStr = dayjs(memo.createdTs).locale(locale).format("YYYY/MM/DD HH:mm:ss"); const createdAtStr = dayjs(memo.createdTs).locale(locale).format("YYYY/MM/DD HH:mm:ss");
...@@ -78,8 +78,8 @@ const Explore = () => { ...@@ -78,8 +78,8 @@ const Explore = () => {
); );
})} })}
</main> </main>
</div>
)} )}
</div>
</section> </section>
); );
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment