chore: enable noUncheckedIndexedAccess, better type check (#2608)
This commit is contained in:
@@ -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>>({
|
||||
|
||||
Reference in New Issue
Block a user