Suppress hover on private tag

This commit is contained in:
Sam Becker 2025-10-15 20:09:55 -05:00
parent 71c732e3ff
commit a03b758e3b
2 changed files with 4 additions and 2 deletions

View File

@ -241,7 +241,6 @@ export default function PhotoGridSidebar({
case TAG_PRIVATE: case TAG_PRIVATE:
return <PhotoPrivate return <PhotoPrivate
key={TAG_PRIVATE} key={TAG_PRIVATE}
hoverCount={count}
type="icon-last" type="icon-last"
prefetch={false} prefetch={false}
contrast="low" contrast="low"

View File

@ -5,7 +5,10 @@ import EntityLink, {
} from '@/components/entity/EntityLink'; } from '@/components/entity/EntityLink';
import IconLock from '@/components/icons/IconLock'; import IconLock from '@/components/icons/IconLock';
export default function PhotoPrivate(props: EntityLinkExternalProps) { export default function PhotoPrivate(
// Prevent hover behavior
props: Omit<EntityLinkExternalProps, 'hoverCount'>,
) {
return ( return (
<EntityLink <EntityLink
{...props} {...props}