Resolve linting errors after upgrades

This commit is contained in:
J. Ryan Stinnett 2021-01-20 13:49:15 +00:00
parent 84b1f2e6c6
commit d78bc98521
7 changed files with 7 additions and 5 deletions

View file

@ -77,7 +77,7 @@ export const useWidgets = (room: Room) => {
setApps([...WidgetStore.instance.getApps(room.roomId)]);
}, [room]);
useEffect(updateApps, [room]);
useEffect(updateApps, [room, updateApps]);
useEventEmitter(WidgetStore.instance, room.roomId, updateApps);
useEventEmitter(WidgetLayoutStore.instance, WidgetLayoutStore.emissionForRoom(room), updateApps);