@@ -275,11 +275,13 @@ export function SearchSpotlightFilters({
{t("Enterprise")}
)}
- {!option.disabled && isAiMode && option.value === "attachment" && (
-
- {t("Ask AI not available for attachments")}
-
- )}
+ {!option.disabled &&
+ isAiMode &&
+ option.value === "attachment" && (
+
+ {t("Ask AI not available for attachments")}
+
+ )}
{contentType === option.value && }
diff --git a/apps/client/src/features/space/components/space-grid.tsx b/apps/client/src/features/space/components/space-grid.tsx
index c6a1bcf4..76a01ec3 100644
--- a/apps/client/src/features/space/components/space-grid.tsx
+++ b/apps/client/src/features/space/components/space-grid.tsx
@@ -15,7 +15,7 @@ import { AvatarIconType } from "@/features/attachments/types/attachment.types.ts
export default function SpaceGrid() {
const { t } = useTranslation();
- const { data, isLoading } = useGetSpacesQuery({ page: 1, limit: 10 });
+ const { data, isLoading } = useGetSpacesQuery({ limit: 10 });
const cards = data?.items.slice(0, 9).map((space, index) => (