Skip to content

Commit

Permalink
Merge pull request #791 from sparcs-kaist/dev
Browse files Browse the repository at this point in the history
Main branch update from Dev branch
  • Loading branch information
kmc7468 authored May 28, 2024
2 parents 917be6b + 7acf06a commit 4356ef5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const MessagePaySettlement = ({ type, color }: MessagePaySettlementProps) => (
}}
className="selectable"
>
{type === "payment" ? (
{type === "settlement" ? (
<>
<CreditCardRoundedIcon style={{ fontSize: "18px" }} />
제가 택시비를 결제했어요 !
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const ModalChatPayment = ({
if (isRequesting.current) return;
isRequesting.current = true;
await axios({
url: "/rooms/commitSettlement",
url: "/rooms/commitPayment",
method: "post",
data: { roomId: roomInfo._id },
onSuccess: () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const ModalChatSettlement = ({
if (isRequesting.current || !isValidAccount) return;
isRequesting.current = true;
axios({
url: "/rooms/commitPayment",
url: "/rooms/commitSettlement",
method: "post",
data: { roomId: roomInfo._id },
onSuccess: async () => {
Expand Down

0 comments on commit 4356ef5

Please sign in to comment.