ProfileHoverCard/StatusHoverCard: make visible an optional prop
This commit is contained in:
@ -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. */
|
||||
|
||||
@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user