ESLint
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import { Button, Card, Flex, Grid, Group, ScrollAreaAutosize, Stack, Tabs, Text } from '@mantine/core'
|
||||
import { Stack, Tabs } from '@mantine/core'
|
||||
import useSWR from 'swr'
|
||||
import { BASE_URL } from '../constants'
|
||||
import { fetcher } from '../http/axiosInstance'
|
||||
import { useEffect, useState } from 'react'
|
||||
import { useState } from 'react'
|
||||
import CustomTable from '../components/CustomTable'
|
||||
|
||||
const DBManager = () => {
|
||||
@ -49,8 +49,8 @@ const DBManager = () => {
|
||||
const TableData = ({
|
||||
tablename
|
||||
}: { tablename: string }) => {
|
||||
const [offset, setOffset] = useState(0)
|
||||
const [limit, setLimit] = useState(20)
|
||||
const [offset] = useState(0)
|
||||
const [limit] = useState(20)
|
||||
|
||||
const { data: columnsData } = useSWR(`/db/columns/${tablename}`, (key) => fetcher(key, BASE_URL.ems), {
|
||||
revalidateOnFocus: false
|
||||
|
Reference in New Issue
Block a user