diff --git a/packages/sanity/src/core/studio/components/navbar/StudioNavbar.tsx b/packages/sanity/src/core/studio/components/navbar/StudioNavbar.tsx index 0246ff7d186..56c814f943a 100644 --- a/packages/sanity/src/core/studio/components/navbar/StudioNavbar.tsx +++ b/packages/sanity/src/core/studio/components/navbar/StudioNavbar.tsx @@ -168,7 +168,7 @@ export function StudioNavbar(props: Omit) { setDrawerOpen(true) }, []) - const release = useMemo(() => router.stickyParams.release, [router.stickyParams]) + const perspective = useMemo(() => router.stickyParams.perspective, [router.stickyParams]) const handleReleaseChange = useCallback( (element: ChangeEvent) => { @@ -239,7 +239,7 @@ export function StudioNavbar(props: Omit) { )} {/* TODO: Fix */} - {/* eslint-disable-next-line i18next/no-literal-string */} {/* eslint-disable-next-line i18next/no-literal-string */}