fixed user chooser

This commit is contained in:
Endrit 2022-03-18 13:50:48 +01:00
parent 7a9fc3df34
commit 9d1d49c12d

View File

@ -19,7 +19,7 @@ export const UserChooserWidgetView: FC<{}> = props =>
{ {
if(prevValue) clearTimeout(prevValue); if(prevValue) clearTimeout(prevValue);
return setTimeout(() => widgetHandler.processWidgetMessage(new RoomWidgetRequestWidgetMessage(RoomWidgetRequestWidgetMessage.FURNI_CHOOSER)), 100); return setTimeout(() => widgetHandler.processWidgetMessage(new RoomWidgetRequestWidgetMessage(RoomWidgetRequestWidgetMessage.USER_CHOOSER)), 100);
}) })
}, [ isVisible, widgetHandler ]); }, [ isVisible, widgetHandler ]);