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); }); }, []);