Skip to content

Commit

Permalink
fix(versus): 본과정 시작 전 유저에 대한 "본과정 시작한지" 카드 오류
Browse files Browse the repository at this point in the history
  • Loading branch information
yoopark committed Sep 24, 2023
1 parent f160cad commit ff90308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/env
Submodule env updated from e982c5 to ebcc54
4 changes: 2 additions & 2 deletions app/src/Profile/dashboard-contents/Versus/DayFromBeginAt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export const DayFromBeginAt = () => {
data2: { beginAt },
} = data;

const diff = Math.abs(getTimeDiffFromNow(new Date(beginAt), 'day'));
const myDiff = Math.abs(getTimeDiffFromNow(new Date(myBeginAt), 'day'));
const diff = -getTimeDiffFromNow(new Date(beginAt), 'day');
const myDiff = -getTimeDiffFromNow(new Date(myBeginAt), 'day');
const unit = '일째';

return (
Expand Down

0 comments on commit ff90308

Please sign in to comment.