diff --git a/app/[locale]/(user)/sectors/SectorsListing.tsx b/app/[locale]/(user)/sectors/SectorsListing.tsx index 6d16339e..f7cd9d48 100644 --- a/app/[locale]/(user)/sectors/SectorsListing.tsx +++ b/app/[locale]/(user)/sectors/SectorsListing.tsx @@ -10,7 +10,7 @@ import { SectorsListsQuery, } from '@/gql/generated/graphql'; import { useQuery } from '@tanstack/react-query'; -import { Divider, SearchInput, Select, Spinner, Text } from 'opub-ui'; +import { Divider, SearchInput, Select, Spinner, Text, Tooltip } from 'opub-ui'; import { GraphQL } from '@/lib/api'; import { cn, generateJsonLd } from '@/lib/utils'; @@ -217,13 +217,15 @@ const SectorsListing = () => { {' '} {/* min-w-0 prevents text overflow */}
- + {sectors.name} +
diff --git a/lib/navigation.tsx b/lib/navigation.tsx index 4cf6f911..0132930e 100644 --- a/lib/navigation.tsx +++ b/lib/navigation.tsx @@ -20,17 +20,16 @@ function useOnComplete() { const searchParams = useSearchParams(); React.useEffect(() => navigateEnd(), [pathname, searchParams]); } - -function __RouterEvents() { +function InternalRouterEvents() { useOnComplete(); return null; } -// https://github.com/joulev/nextjs13-appdir-router-events/blob/52e3457f183b0b638cd14c6c0e8c138e71a76895/app/router-events.tsx export function RouterEvents() { return ( - <__RouterEvents /> + ); } +