mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update loading section
This commit is contained in:
@@ -44,7 +44,6 @@ const Explore = () => {
|
||||
|
||||
return (
|
||||
<section className="page-wrapper explore">
|
||||
{loadingState.isLoading ? null : (
|
||||
<div className="page-container">
|
||||
<div className="page-header">
|
||||
<img className="logo-img" src="/logo-full.webp" alt="" />
|
||||
@@ -60,6 +59,7 @@ const Explore = () => {
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
{loadingState.isLoading ? null : (
|
||||
<main className="memos-wrapper">
|
||||
{state.memos.map((memo) => {
|
||||
const createdAtStr = dayjs(memo.createdTs).locale(locale).format("YYYY/MM/DD HH:mm:ss");
|
||||
@@ -78,8 +78,8 @@ const Explore = () => {
|
||||
);
|
||||
})}
|
||||
</main>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user