diff --git a/packages/web/app/src/components/admin/AdminStats.tsx b/packages/web/app/src/components/admin/AdminStats.tsx index 84850436550..7b6fa75b5c4 100644 --- a/packages/web/app/src/components/admin/AdminStats.tsx +++ b/packages/web/app/src/components/admin/AdminStats.tsx @@ -26,7 +26,7 @@ import { CHART_PRIMARY_COLOR } from '@/constants'; import { env } from '@/env/frontend'; import { DocumentType, FragmentType, graphql, useFragment } from '@/gql'; import { theme } from '@/lib/charts'; -import { useChartStyles } from '@/utils'; +import { useChartStyles } from '@/lib/utils'; import { ChevronUpIcon } from '@radix-ui/react-icons'; import { createColumnHelper, diff --git a/packages/web/app/src/components/common/not-found-content.tsx b/packages/web/app/src/components/common/not-found-content.tsx index cf4221dc765..295422a6c7e 100644 --- a/packages/web/app/src/components/common/not-found-content.tsx +++ b/packages/web/app/src/components/common/not-found-content.tsx @@ -2,17 +2,27 @@ import ghost from '../../../public/images/figures/ghost.svg?url'; import { useRouter } from '@tanstack/react-router'; import { Button } from '../ui/button'; -export function NotFoundContent(props: { heading: React.ReactNode; subheading: React.ReactNode }) { +export function NotFoundContent({ + heading, + subheading, + includeBackButton = true, +}: { + heading: React.ReactNode; + subheading: React.ReactNode; + includeBackButton?: boolean; +}) { const router = useRouter(); return (