Skip to content

Commit

Permalink
Merge pull request #147 from boostcamp-2020/hotfix/channel-update-bug
Browse files Browse the repository at this point in the history
Fix: channel update when changing workspace
  • Loading branch information
bell-won committed Dec 11, 2020
2 parents 07f3d25 + c6f3812 commit 9f507b4
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 9f507b4

Please sign in to comment.