fix(nui): Truncate total query time

This commit is contained in:
Luke committed 2022-01-11 20:10:34 +01:00
1 parent 255dc69b14
commit f40741f613
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ const RightBar: React.FC = () => {
<Center>
<VStack align="left">
<Box>Total number of queries: {initData.totalQueries}</Box>
<Box>Total amount of time querying: {initData.totalTime}</Box>
<Box>Total amount of time querying: {Math.trunc(initData.totalTime)} ms</Box>
</VStack>
</Center>
</Box>
-1
View File
@@ -12,7 +12,6 @@ import {
ChevronRightIcon,
} from '@chakra-ui/icons';
import { useTable, useSortBy, Column, usePagination, useFlexLayout } from 'react-table';
import { debugData } from '../utils/debugData';
interface QueryData {
date: number;