import { useQuery } from "urql"; import { AddFeedForm, FeedList } from "../components"; import { GetFeedsDocument } from "../graphql/generated/graphql"; export function Settings() { const [, refetchFeeds] = useQuery({ query: GetFeedsDocument, }); const handleFeedAdded = () => { refetchFeeds(); }; const handleFeedUnsubscribed = () => { refetchFeeds(); }; return (