mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 14:38:50 +00:00
chore(nui): Remove unused imports
This commit is contained in:
1 parent
6a94dd66fb
commit
1948c783e7
3 files changed
+3
-12
No files matched your search
@@ -2,7 +2,6 @@ import { useParams } from 'react-router-dom';
|
||||
import { useEffect, useState, useMemo } from 'react';
|
||||
import { fetchNui } from '../utils/fetchNui';
|
||||
import { useNuiEvent } from '../hooks/useNuiEvent';
|
||||
import { debugData } from '../utils/debugData';
|
||||
import { Table, Thead, Tbody, Tr, Th, Td, chakra, Flex, IconButton, Text } from '@chakra-ui/react';
|
||||
import {
|
||||
TriangleDownIcon,
|
||||
@@ -139,7 +138,7 @@ const Resource: React.FC = () => {
|
||||
))}
|
||||
</Thead>
|
||||
<Tbody {...getTableBodyProps()}>
|
||||
{isLoaded ? (
|
||||
{isLoaded && (
|
||||
<>
|
||||
{page.map((row) => {
|
||||
prepareRow(row);
|
||||
@@ -161,8 +160,6 @@ const Resource: React.FC = () => {
|
||||
);
|
||||
})}
|
||||
</>
|
||||
) : (
|
||||
<h2>Loading....</h2>
|
||||
)}
|
||||
</Tbody>
|
||||
</Table>
|
||||
|
||||
Reference in new issue
Block a user