forked from VinokurovVE/tests
Update
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { Box, Typography } from '@mui/material'
|
||||
import { DataGrid, GridColDef } from '@mui/x-data-grid'
|
||||
import React, { useEffect, useState } from 'react'
|
||||
import { useEffect, useState } from 'react'
|
||||
import { IBoiler } from '../interfaces/fuel'
|
||||
import { useBoilers } from '../hooks/swrHooks'
|
||||
|
||||
|
@ -9,6 +9,7 @@ export default function Servers() {
|
||||
const [currentTab, setCurrentTab] = useState(0)
|
||||
|
||||
const handleTabChange = (event: React.SyntheticEvent, newValue: number) => {
|
||||
console.log(event)
|
||||
setCurrentTab(newValue);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user