Skip to content

Commit

Permalink
Fix: channel update when changing workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
bell-won committed Dec 11, 2020
1 parent 277b657 commit c6f3812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/hooks/useChannelList.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const useChannelList = () => {
}

useEffect(() => {
if (Object.keys(Channels).length === 0) getList()
getList()
}, [workspaceUserInfoId])

const updateChannelList = async () => getList()
Expand Down

0 comments on commit c6f3812

Please sign in to comment.