mirror of https://github.com/usememos/memos.git
refactor(web): simplify Skeleton component structure
This commit is contained in:
parent
d7478b8003
commit
f416eb00b0
|
|
@ -59,7 +59,6 @@ const Skeleton = ({ type = "route", showCreator = false, count = 4, showEditor =
|
|||
|
||||
// Route or memo type: with optional wrapper
|
||||
return (
|
||||
<div className="w-full max-w-full px-4 py-6">
|
||||
<div className="w-full max-w-2xl mx-auto">
|
||||
{/* Editor skeleton - only for route type */}
|
||||
{type === "route" && showEditor && (
|
||||
|
|
@ -73,7 +72,6 @@ const Skeleton = ({ type = "route", showCreator = false, count = 4, showEditor =
|
|||
<MemoCardSkeleton key={index} showCreator={showCreator} index={index} />
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue