ProfileHoverCard/StatusHoverCard: make `visible` an optional prop
This commit is contained in:
parent
3a221e8c86
commit
5b539416d9
|
@ -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. */
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue