Fix missing close function

This commit is contained in:
Bill 2022-07-19 11:42:19 -04:00
parent 81fab26a1b
commit daf761e145

View File

@ -4,7 +4,7 @@ import { useFurnitureTrophyWidget } from '../../../../hooks';
export const FurnitureTrophyView: FC<{}> = props => export const FurnitureTrophyView: FC<{}> = props =>
{ {
const { objectId = -1, color = '1', senderName = '', date = '', message = '' } = useFurnitureTrophyWidget(); const { objectId = -1, color = '1', senderName = '', date = '', message = '', close = null } = useFurnitureTrophyWidget();
if(objectId === -1) return null; if(objectId === -1) return null;