From 79c3528bbcd82c6eed67b17747ded31af09a4a64 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Sat, 8 Nov 2025 17:48:54 +0900
Subject: fix(frontend): Fix incorrect caching settings

---
 frontend/src/components/AddFeedForm.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'frontend/src/components/AddFeedForm.tsx')

diff --git a/frontend/src/components/AddFeedForm.tsx b/frontend/src/components/AddFeedForm.tsx
index 519f9e3..6d18318 100644
--- a/frontend/src/components/AddFeedForm.tsx
+++ b/frontend/src/components/AddFeedForm.tsx
@@ -8,6 +8,8 @@ interface Props {
 	onFeedAdded?: () => void;
 }
 
+const urqlContextFeed = { additionalTypenames: ["Feed"] };
+
 export function AddFeedForm({ onFeedAdded }: Props) {
 	const [url, setUrl] = useState("");
 	const [error, setError] = useState<string | null>(null);
@@ -20,7 +22,7 @@ export function AddFeedForm({ onFeedAdded }: Props) {
 		setError(null);
 
 		try {
-			const result = await addFeed({ url: url.trim() });
+			const result = await addFeed({ url: url.trim() }, urqlContextFeed);
 			if (result.error) {
 				setError(result.error.message);
 			} else if (result.data) {
-- 
cgit v1.2.3-70-g09d2

