mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 06:28:54 +00:00
fix(nui): Truncate total query time
This commit is contained in:
1 parent
255dc69b14
commit
f40741f613
2 files changed
+1
-2
No files matched your search
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user