Resolve linting errors after upgrades
This commit is contained in:
parent
84b1f2e6c6
commit
d78bc98521
7 changed files with 7 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue