import { Logo } from "@follow/components/icons/logo.jsx" import { Button } from "@follow/components/ui/button/index.js" import type { FC } from "react" import { useNavigate } from "react-router-dom" import { CustomSafeError } from "../../errors/CustomSafeError" import type { AppErrorFallbackProps } from "../common/AppErrorBoundary" import { useResetErrorWhenRouteChange } from "./helper" const FeedNotFoundErrorFallback: FC = ({ resetError, error }) => { if (!(error instanceof FeedNotFound)) { throw error } useResetErrorWhenRouteChange(resetError) const navigate = useNavigate() return (

There is no feed with the given ID. Please check the URL and retry.

) } export default FeedNotFoundErrorFallback export class FeedNotFound extends CustomSafeError { constructor() { super("Feed 404") } }