From 51ea8fe4a31d319dc275a338c37f5c116b129f32 Mon Sep 17 00:00:00 2001 From: Snaiker Date: Fri, 18 Mar 2022 22:27:27 +0000 Subject: [PATCH] Clean name --- .../room/widgets/choosers/FurniChooserWidgetView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/room/widgets/choosers/FurniChooserWidgetView.tsx b/src/components/room/widgets/choosers/FurniChooserWidgetView.tsx index cbb0253d..cd3cef6c 100644 --- a/src/components/room/widgets/choosers/FurniChooserWidgetView.tsx +++ b/src/components/room/widgets/choosers/FurniChooserWidgetView.tsx @@ -8,7 +8,7 @@ export const FurniChooserWidgetView: FC<{}> = props => { const [ isVisible, setIsVisible ] = useState(false); const [ items, setItems ] = useState(null); - const [ isModerator, setIsmModerator ] = useState(false); + const [ isModerator, setIsModerator ] = useState(false); const [ refreshTimeout, setRefreshTimeout ] = useState>(null); const { eventDispatcher = null, widgetHandler = null } = useRoomContext(); @@ -29,7 +29,7 @@ export const FurniChooserWidgetView: FC<{}> = props => BatchUpdates(() => { setItems(event.items); - setIsmModerator(event.isModerator); + setIsModerator(event.isModerator); setIsVisible(true); }); }, []);