feat: adding height to inputs

This commit is contained in:
Caio Cabral committed 2024-11-29 14:06:59 -05:00
1 parent 91f608a62a
commit f20ad60f22
4 files changed
+54 -77

No files matched your search

+1 -10
View File
@@ -1,4 +1,4 @@
import { useCallback, useEffect, useState } from "react";
import { useEffect, useState } from "react";
import { useNavigate } from "react-router-dom";
import { /* useDispatch, */ useSelector } from "react-redux";
import { useTheme } from "@emotion/react";
@@ -27,7 +27,6 @@ import { Pagination } from "./components/TablePagination";
import { networkService } from "../../Utils/NetworkService.js";
import CustomGauge from "../../Components/Charts/CustomGauge/index.jsx";
import Host from "../Monitors/Home/host.jsx";
import ActionsMenu from "../Monitors/Home/actionsMenu.jsx";
import { useIsAdmin } from "../../Hooks/useIsAdmin.js";
import { InfrastructureMenu } from "./components/Menu";
@@ -138,14 +137,6 @@ function Infrastructure() {
disk: monitor?.checks[0]?.disk[0]?.usage_percent * 100,
}));
/*
TODO
Clean component (actions component)
Add padding to inputs (I took of their height)
Add toast
*/
function openDetails(id) {
navigate(`/infrastructure/${id}`);
}