diff --git a/frontend/providers/costcenter/src/constants/payment.ts b/frontend/providers/costcenter/src/constants/payment.ts index eea0b1a63d9..d008570dafc 100644 --- a/frontend/providers/costcenter/src/constants/payment.ts +++ b/frontend/providers/costcenter/src/constants/payment.ts @@ -89,8 +89,8 @@ export const START_TIME = new Date(2023, 0, 1); export const END_TIME = endOfDay(new Date()); export const valuationMap = new Map([ ['cpu', { unit: 'Core', scale: 1000, bg: '#33BABB', idx: 0 }], - ['memory', { unit: 'GiB', scale: 1024, bg: '#36ADEF', idx: 1 }], - ['storage', { unit: 'GiB', scale: 1024, bg: '#8172D8', idx: 2 }], + ['memory', { unit: 'GB', scale: 1024, bg: '#36ADEF', idx: 1 }], + ['storage', { unit: 'GB', scale: 1024, bg: '#8172D8', idx: 2 }], ['gpu', { unit: 'GPU', scale: 1000, bg: '#89CD11', idx: 3 }] // ['network', { unit: 'M', scale: 1, bg: '#89CD11', idx: 4 }] ]); diff --git a/frontend/providers/costcenter/src/pages/valuation/index.tsx b/frontend/providers/costcenter/src/pages/valuation/index.tsx index 497df886509..3d7993abc36 100644 --- a/frontend/providers/costcenter/src/pages/valuation/index.tsx +++ b/frontend/providers/costcenter/src/pages/valuation/index.tsx @@ -1,14 +1,4 @@ -import { - Box, - Flex, - Heading, - Text, - Img, - Stack, - PopoverArrow, - position, - Tooltip -} from '@chakra-ui/react'; +import { Box, Flex, Heading, Text, Img, Stack } from '@chakra-ui/react'; import letter_icon from '@/assert/format_letter_spacing_standard_black.svg'; import { QueryClient, dehydrate, useQuery } from '@tanstack/react-query'; import request from '@/service/request';