chore: ran linting

This commit is contained in:
Anish Sarkar 2026-04-10 00:31:43 +05:30
parent b44c1ee034
commit 33626d4f91
6 changed files with 16 additions and 16 deletions

View file

@ -106,9 +106,7 @@ export function MemoryContent() {
if (!memory) {
return (
<div className="flex flex-col items-center justify-center py-16 text-center">
<h3 className="text-base font-medium text-foreground">
What does SurfSense remember?
</h3>
<h3 className="text-base font-medium text-foreground">What does SurfSense remember?</h3>
<p className="mt-2 max-w-sm text-sm text-muted-foreground">
Nothing yet. SurfSense picks up on your preferences and context as you chat.
</p>

View file

@ -18,9 +18,11 @@ import { cacheKeys } from "@/lib/query-client/cache-keys";
const MEMORY_HARD_LIMIT = 25_000;
const SearchSpaceSchema = z.object({
shared_memory_md: z.string().optional().default(""),
}).passthrough();
const SearchSpaceSchema = z
.object({
shared_memory_md: z.string().optional().default(""),
})
.passthrough();
interface TeamMemoryManagerProps {
searchSpaceId: number;
@ -67,7 +69,7 @@ export function TeamMemoryManager({ searchSpaceId }: TeamMemoryManagerProps) {
await baseApiService.post(
`/api/v1/searchspaces/${searchSpaceId}/memory/edit`,
SearchSpaceSchema,
{ body: { query } },
{ body: { query } }
);
setEditQuery("");
await queryClient.invalidateQueries({