Skip to content

Commit

Permalink
fix: scenarioCount type
Browse files Browse the repository at this point in the history
  • Loading branch information
jwo0o0 committed Feb 22, 2024
1 parent 47db295 commit 5c2a38f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Note/DetailReport/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const DetailReport = ({ reportId }: DetailReportProps) => {
return (
<styles.Scenario key={el.scenarioType}>
<styles.ScenarioName>{el.scenarioName}</styles.ScenarioName>
<styles.Number>{el.total}</styles.Number>
<styles.Number>{el.scenarioCount}</styles.Number>
</styles.Scenario>
);
})}
Expand All @@ -37,7 +37,7 @@ export const DetailReport = ({ reportId }: DetailReportProps) => {
return (
<styles.Scenario key={el.scenarioType}>
<styles.ScenarioName>{el.scenarioName}</styles.ScenarioName>
<styles.Number>{el.total}</styles.Number>
<styles.Number>{el.scenarioCount}</styles.Number>
</styles.Scenario>
);
})}
Expand Down
2 changes: 1 addition & 1 deletion src/types/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface ReportHistoryType {
export interface ReportDetailType {
scenarioType: number;
scenarioName: string;
total: number;
scenarioCount: number;
}

/**
Expand Down

0 comments on commit 5c2a38f

Please sign in to comment.