fix: Replaces search component with lazy-loading variant

Substitutes the existing search component with a lazy-loading version to improve performance and loading times.

Enhances user experience by ensuring that search functionality loads only when needed.
This commit is contained in:
ccbikai 2024-12-23 21:08:31 +08:00
parent 3f5c6ceb59
commit 45745f1d8f

View file

@ -46,7 +46,7 @@ function updateLinkList(link, type) {
<DashboardNav class="flex-1">
<DashboardLinksEditor @update:link="updateLinkList" />
</DashboardNav>
<DashboardLinksSearch />
<LazyDashboardLinksSearch />
</div>
<section class="grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3">
<DashboardLinksLink