diff --git a/web/ui/mantine-ui/src/App.tsx b/web/ui/mantine-ui/src/App.tsx index 3af37e71a..c651b38ce 100644 --- a/web/ui/mantine-ui/src/App.tsx +++ b/web/ui/mantine-ui/src/App.tsx @@ -6,7 +6,6 @@ import classes from "./App.module.css"; import PrometheusLogo from "./images/prometheus-logo.svg"; import { - Affix, AppShell, Box, Burger, @@ -16,13 +15,11 @@ import { Menu, Skeleton, Text, - Transition, createTheme, rem, } from "@mantine/core"; -import { useDisclosure, useWindowScroll } from "@mantine/hooks"; +import { useDisclosure } from "@mantine/hooks"; import { - IconArrowUp, IconBellFilled, IconChevronDown, IconChevronRight, @@ -180,7 +177,6 @@ const getPathPrefix = (path: string) => { const navLinkXPadding = "md"; function App() { - const [scroll, scrollTo] = useWindowScroll(); const [opened, { toggle }] = useDisclosure(); const pathPrefix = getPathPrefix(window.location.pathname); @@ -422,23 +418,6 @@ function App() { - - 0}> - {(transitionStyles) => ( - - )} - - {/* */}