Skip to content

Commit

Permalink
[Fix] [GGFE-234] 뽑기 모달 응답 처리 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyobb109 committed Sep 5, 2023
1 parent 1bc6acc commit 072b5ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import styles from 'styles/modal/store/InventoryModal.module.scss';

type ChangeProfileBackgroundModalProps = UseItemRequest;

// TODO : 주의사항 구체화 필요
const caution = [
'색상은 랜덤으로 결정됩니다.',
'아이템을 사용한 후에는 취소가 불가능합니다.',
Expand All @@ -37,7 +36,7 @@ export default function ChangeProfileBackgroundModal({
modalName: 'USE-ITEM-GACHA',
randomItem: {
item: 'BACKGROUND',
color: res.data,
color: res.data.background,
},
});
} catch (error) {
Expand Down
3 changes: 1 addition & 2 deletions components/modal/store/inventory/ChangeProfileEdgeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import styles from 'styles/modal/store/InventoryModal.module.scss';

type ChangeProfileEdgeModalProps = UseItemRequest;

// TODO : 주의사항 구체화 필요
const caution = [
'색상은 랜덤으로 결정됩니다.',
'아이템을 사용한 후에는 취소가 불가능합니다.',
Expand All @@ -37,7 +36,7 @@ export default function ChangeProfileEdgeModal({
modalName: 'USE-ITEM-GACHA',
randomItem: {
item: 'EDGE',
color: res.data,
color: res.data.edge,
},
});
} catch (error) {
Expand Down

0 comments on commit 072b5ac

Please sign in to comment.