Skip to content

Commit

Permalink
Merge pull request #267 from hhbb0081/test
Browse files Browse the repository at this point in the history
Fix: point 0일 때 적립으로 수정
  • Loading branch information
hhbb0081 authored Mar 24, 2024
2 parents 254f6d1 + 09f589d commit cd81431
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/views/PointStateBox/PointStateBox.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { IMAGES } from "../../../constants/images";
import "./PointStateBox.css";
const PointStateBox = ({ point, store, date }) => {
const stateText = point > 0 ? "적립" : "사용";
const stateText = point >= 0 ? "적립" : "사용";
return (
<div className="membership-box-container">
<div className="membership-box">
Expand Down
3 changes: 2 additions & 1 deletion src/pages/MembershipPage/MembershipPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
white-space: nowrap;

padding-top: 4.44rem;
padding-bottom: 5.0625rem;
/* padding-bottom: 5.0625rem; */
}
.membershippage-point-box-container {
display: flex;
flex-direction: column;
width: 100%;
margin-top: 1.5rem;
padding-bottom: 5.0625rem;
border-top: 0.3rem solid #d82356;
overflow-y: auto;

Expand Down

0 comments on commit cd81431

Please sign in to comment.