Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

에러 리스트의 에러들을 해결 #184

Merged
9 changes: 5 additions & 4 deletions src/store/style/manageCategories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ export const combineElement = ({
elements.forEach((element) => {
if (update[element]) {
switch (element) {
case ElementNameType.labelIcon:
combineStyle({
style: update[element] as StyleActionPayload,
defaultStyle: elementStyle[element] as StyleType,
case ElementNameType.labelIcon: {
update[element] = combineStyle({
style: elementStyle[element] as StyleActionPayload,
defaultStyle: update[element] as StyleType,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

제가 조건문 추가하다가 실수가 있었나보네요~

});
break;
}
case ElementNameType.section:
case ElementNameType.labelText:
update[element] = combineSubElement({
Expand Down