Skip to content

Commit

Permalink
fix: round instance price
Browse files Browse the repository at this point in the history
  • Loading branch information
pmh-only committed Aug 22, 2023
1 parent edc36ef commit cc9e99d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/InstanceTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ const InstanceTable: FC<Props> = ({ instances, isLoading }) => {
{
id: '인스턴스 요금',
header: '인스턴스 요금',
cell: (item: InstancesType) => (item.pricePerHour + (item.storageSize * 0.1)).toString() + '$',
cell: (item: InstancesType) => (item.pricePerHour + (item.storageSize * 0.1)).toFixed(2) + '$',
width: '200px'
},
{
Expand Down

0 comments on commit cc9e99d

Please sign in to comment.