diff --git a/src/app/ViewSwitcher.tsx b/src/app/AppViewSwitcher.tsx similarity index 98% rename from src/app/ViewSwitcher.tsx rename to src/app/AppViewSwitcher.tsx index 7b0f6700..84833d99 100644 --- a/src/app/ViewSwitcher.tsx +++ b/src/app/AppViewSwitcher.tsx @@ -16,7 +16,7 @@ import { useState } from 'react'; export type SwitcherSelection = 'feed' | 'grid' | 'admin'; -export default function ViewSwitcher({ +export default function AppViewSwitcher({ currentSelection, className, }: { diff --git a/src/app/Nav.tsx b/src/app/Nav.tsx index 060fd2ed..56853ee0 100644 --- a/src/app/Nav.tsx +++ b/src/app/Nav.tsx @@ -4,7 +4,7 @@ import { clsx } from 'clsx/lite'; import { usePathname } from 'next/navigation'; import Link from 'next/link'; import AppGrid from '../components/AppGrid'; -import ViewSwitcher, { SwitcherSelection } from '@/app/ViewSwitcher'; +import AppViewSwitcher, { SwitcherSelection } from '@/app/AppViewSwitcher'; import { PATH_ROOT, isPathAdmin, @@ -80,7 +80,7 @@ export default function Nav({ 'md:w-[calc(100%+8px)] md:translate-x-[-4px] md:px-[4px]', classNameStickyNav, )}> -