Skip to content

Commit

Permalink
fix: hot-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
swgvenghy committed Sep 4, 2024
1 parent 227b705 commit 0ee59c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ui/components/molecule/chat-section/chat-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ const ChatSection: React.FC = () => {

response.forEach((item: { type: 'SUSI' | 'JEONGSI' | 'PYEONIP'; isActivated: boolean }) => {
if (item.type === 'SUSI') {
setSusiDisabled(item.isActivated);
setSusiDisabled(!item.isActivated);
} else if (item.type === 'JEONGSI') {
setJeongsiDisabled(item.isActivated);
setJeongsiDisabled(!item.isActivated);
} else if (item.type === 'PYEONIP') {
setPyeonipDisabled(item.isActivated);
setPyeonipDisabled(!item.isActivated);
}
});
} catch (error) {
Expand Down

0 comments on commit 0ee59c8

Please sign in to comment.