Suppress hover on private tag
This commit is contained in:
parent
71c732e3ff
commit
a03b758e3b
@ -241,7 +241,6 @@ export default function PhotoGridSidebar({
|
||||
case TAG_PRIVATE:
|
||||
return <PhotoPrivate
|
||||
key={TAG_PRIVATE}
|
||||
hoverCount={count}
|
||||
type="icon-last"
|
||||
prefetch={false}
|
||||
contrast="low"
|
||||
|
||||
@ -5,7 +5,10 @@ import EntityLink, {
|
||||
} from '@/components/entity/EntityLink';
|
||||
import IconLock from '@/components/icons/IconLock';
|
||||
|
||||
export default function PhotoPrivate(props: EntityLinkExternalProps) {
|
||||
export default function PhotoPrivate(
|
||||
// Prevent hover behavior
|
||||
props: Omit<EntityLinkExternalProps, 'hoverCount'>,
|
||||
) {
|
||||
return (
|
||||
<EntityLink
|
||||
{...props}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user