diff --git a/src/components/profile-hover-card.tsx b/src/components/profile-hover-card.tsx index f7517430e..ddb89e11e 100644 --- a/src/components/profile-hover-card.tsx +++ b/src/components/profile-hover-card.tsx @@ -56,7 +56,7 @@ const handleMouseLeave = (dispatch: AppDispatch): React.MouseEventHandler => { }; interface IProfileHoverCard { - visible: boolean; + visible?: boolean; } /** Popup profile preview that appears when hovering avatars and display names. */ diff --git a/src/components/status-hover-card.tsx b/src/components/status-hover-card.tsx index 5c31f9b4d..08359c61a 100644 --- a/src/components/status-hover-card.tsx +++ b/src/components/status-hover-card.tsx @@ -15,7 +15,7 @@ import { showStatusHoverCard } from './hover-status-wrapper'; import { Card, CardBody } from './ui'; interface IStatusHoverCard { - visible: boolean; + visible?: boolean; } /** Popup status preview that appears when hovering reply to */