Rename ViewSwitcher

This commit is contained in:
Sam Becker 2025-04-24 09:22:03 -05:00
parent 3aa92b2e03
commit 29914b5346
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ import { useState } from 'react';
export type SwitcherSelection = 'feed' | 'grid' | 'admin';
export default function ViewSwitcher({
export default function AppViewSwitcher({
currentSelection,
className,
}: {

View File

@ -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,
)}>
<ViewSwitcher
<AppViewSwitcher
currentSelection={switcherSelectionForPath()}
/>
<div className={clsx(