Skip to content

Commit

Permalink
Merge pull request #168 from hhbb0081/test
Browse files Browse the repository at this point in the history
Feat: 결제실패 추가
  • Loading branch information
hhbb0081 authored Dec 5, 2023
2 parents 727964b + 03f0bdc commit 1b1750a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Atom/status.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const loginState = atom({
// 사용자 정보를 저장하는 상태
export const userState = atom({
key: "userState",
dafault: null,
default: null,
effects_UNSTABLE: [persistAtom],
});

Expand Down
2 changes: 1 addition & 1 deletion src/components/views/PageComponent/OrderStatus.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function OrderStatus() {
/>
</div>
)}
{degree !== 0 && degree !== 2 && degree !== 4 && (
{degree === 1 && (
<div className="status-time-wrapper">
<div className="status-time">
<div className="status-time-img__wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/StateBox/StateBox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Link } from "react-router-dom";
import cafe from "../../../assets/images/cafe_logo.png";

const StateBox = ({ id, date, name, menu, imgUrl, amount, isLast, state }) => {
const stateList = ["진행중", "수령완료", "취소완료"];
const stateList = ["진행중", "수령완료", "취소완료", "결제실패"];
return (
<>
<div
Expand Down

0 comments on commit 1b1750a

Please sign in to comment.