Skip to content

Commit 877b451

Browse files
committed
Remove loading screen for agent store
1 parent 8176550 commit 877b451

File tree

3 files changed

+1
-71
lines changed

3 files changed

+1
-71
lines changed

web/src/app/store/loading.tsx

Lines changed: 0 additions & 56 deletions
This file was deleted.

web/src/app/store/page.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -86,20 +86,6 @@ export const revalidate = 60 * 10 // Revalidate every 10 minutes
8686
export const dynamic = 'force-static'
8787
export const fetchCache = 'force-cache'
8888

89-
// Generate static params for common search/sort combinations
90-
export async function generateStaticParams() {
91-
// Generate static versions for the most common combinations
92-
const commonParams = [
93-
{}, // Default: no search, default sort
94-
{ sort: 'usage' },
95-
{ sort: 'unique_users' },
96-
{ sort: 'newest' },
97-
{ sort: 'name' },
98-
]
99-
100-
return commonParams
101-
}
102-
10389
interface StorePageProps {
10490
searchParams: { [key: string]: string | string[] | undefined }
10591
}

web/src/app/store/store-client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ interface AgentStoreState {
7070
}
7171

7272
const useAgentStoreState = create<AgentStoreState>((set) => ({
73-
displayedCount: 0,
73+
displayedCount: 24,
7474
isLoadingMore: false,
7575
hasMore: true,
7676
searchQuery: '',

0 commit comments

Comments
 (0)