mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-18 21:36:27 +01:00
Fix missing close function
This commit is contained in:
parent
81fab26a1b
commit
daf761e145
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user