Skip to content

Commit

Permalink
hotfix: 주문번호 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gudusol committed Nov 14, 2024
1 parent 2e2f0b3 commit 164c545
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/steps/CheckInfo/CheckInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ const CheckInfo = ({ onNext }: StepProps) => {
const handleOrderClick = () => {
mutateAsync(orderPostDataState)
.then((data) => {
setOrderNumberState(data);
resetOrderPostData();
localStorage.clear();
setOrderNumberState(data);
onNext();
})
.catch(() => {
Expand Down
1 change: 1 addition & 0 deletions src/components/common/steps/Complete/Complete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const Complete = () => {
setShowAccountInfo(true);
};
const handleButtonClick = () => {
localStorage.clear();
navigate(`/${category}`);
};
return (
Expand Down

0 comments on commit 164c545

Please sign in to comment.