chore: enable noUncheckedIndexedAccess, better type check (#2608)

This commit is contained in:
Stephen Zhou
2025-01-18 22:35:23 +08:00
committed by GitHub
parent f947bd1d1e
commit 2cd1b5daf9
182 changed files with 489 additions and 589 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ export function FollowFeed(props: { id: string }) {
function FollowImpl() {
const { id } = useLocalSearchParams()
const feed = useFeed(id as string)
const feed = useFeed(id as string)!
const isSubscribed = useSubscriptionByFeedId(feed?.id || "")
const form = useForm<z.infer<typeof formSchema>>({