ProfileHoverCard/StatusHoverCard: make `visible` an optional prop

This commit is contained in:
Alex Gleason 2023-10-07 15:38:15 -05:00
parent 3a221e8c86
commit 5b539416d9
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ const handleMouseLeave = (dispatch: AppDispatch): React.MouseEventHandler => {
}; };
interface IProfileHoverCard { interface IProfileHoverCard {
visible: boolean; visible?: boolean;
} }
/** Popup profile preview that appears when hovering avatars and display names. */ /** Popup profile preview that appears when hovering avatars and display names. */

View File

@ -15,7 +15,7 @@ import { showStatusHoverCard } from './hover-status-wrapper';
import { Card, CardBody } from './ui'; import { Card, CardBody } from './ui';
interface IStatusHoverCard { interface IStatusHoverCard {
visible: boolean; visible?: boolean;
} }
/** Popup status preview that appears when hovering reply to */ /** Popup status preview that appears when hovering reply to */