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:
|
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"
|
||||||
|
|||||||
@ -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}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user