refactor: move page model helpers out of components

This commit is contained in:
ShukeBta
2026-06-25 04:45:35 +08:00
parent 7efa5d20b0
commit 42ed6960a1
6 changed files with 88 additions and 85 deletions
+1 -2
View File
@@ -6,9 +6,8 @@ import {
LibrariesContent,
LibrariesEmptyState,
LibrariesHeader,
latestLibraryCards,
type LibraryPreview,
} from './LibrariesPageSections'
import { latestLibraryCards, type LibraryPreview } from './librariesPageModel'
export function LibrariesPage() {
const [previews, setPreviews] = useState<LibraryPreview[]>([])