Skip to content

Commit 1abec63

Browse files
authored
Merge pull request #68 from Stack-Knowledge/hotfix/myData
[hotfix] currentData
2 parents dbc977f + 12a1122 commit 1abec63

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/types/src/studentType.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export interface StudentType {
22
id: string;
33
cumulatePoint: number;
4+
currentPoint: number;
45
user: {
56
id: string;
67
email: string;

projects/client/src/PageContainer/ShopPage/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const ShopPage = () => {
3232
<S.MiledgeTitle>현재 마일리지</S.MiledgeTitle>
3333
<S.FlexWrapper>
3434
<S.MilidgePoint>
35-
{slicePoint(student?.cumulatePoint ?? 0)}
35+
{slicePoint(student?.currentPoint ?? 0)}
3636
</S.MilidgePoint>
3737
<S.MilidgeUnit>M</S.MilidgeUnit>
3838
</S.FlexWrapper>

0 commit comments

Comments
 (0)