diff --git a/frontend/src/hooks/useConstructorData.ts b/frontend/src/hooks/useConstructorData.ts index 0f4b4b3..b6bfe23 100644 --- a/frontend/src/hooks/useConstructorData.ts +++ b/frontend/src/hooks/useConstructorData.ts @@ -72,9 +72,7 @@ export function useConstructorData({ const pagesQuery = usePagesQuery(enabled ? projectId : undefined, 'dev'); // Fetch assets - const assetsQuery = useAssetsQuery(enabled ? projectId : undefined, { - limit: 500, - }); + const assetsQuery = useAssetsQuery(enabled ? projectId : undefined); // Fetch element defaults const elementDefaultsQuery = useElementDefaultsQuery( diff --git a/frontend/src/pages/assets/assets-list.tsx b/frontend/src/pages/assets/assets-list.tsx index 49c194d..38e1759 100644 --- a/frontend/src/pages/assets/assets-list.tsx +++ b/frontend/src/pages/assets/assets-list.tsx @@ -107,7 +107,7 @@ const AssetsTablesPage = () => { if (!projectId) return; dispatch( fetchAssets({ - query: `?limit=500&page=0&sort=desc&field=createdAt&projectId=${projectId}`, + query: `?page=0&sort=desc&field=createdAt&projectId=${projectId}`, }), ); },