Skip to content

Commit f51baa1

Browse files
committed
[FE] fix: 채널 클릭마다 전역상태 값이 바뀌는 오류 수정 (#74)
1 parent 5a2c029 commit f51baa1

File tree

1 file changed

+2
-0
lines changed
  • src/frontend/src/components/guild/GuildCategoriesList

1 file changed

+2
-0
lines changed

src/frontend/src/components/guild/GuildCategoriesList/index.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ const GuildCategoriesList = ({ categories, channels }: CategoriesListProps) => {
3232

3333
if (channelInfo.type === 'VOICE') {
3434
if (!isInVoiceChannel) setIsInVoiceChannel();
35+
} else if (isInVoiceChannel) {
36+
setIsInVoiceChannel();
3537
}
3638
};
3739

0 commit comments

Comments
 (0)