diff --git a/src/components/services/item.jsx b/src/components/services/item.jsx index 06cc1629d..2d50276e3 100644 --- a/src/components/services/item.jsx +++ b/src/components/services/item.jsx @@ -1,12 +1,9 @@ import Image from "next/future/image"; import { Disclosure } from "@headlessui/react"; -import { useState } from "react"; -import { useTranslation } from "react-i18next"; import Status from "./status"; import Widget from "./widget"; import Docker from "./widgets/service/docker"; -import Dropdown from "./dropdown"; function resolveIcon(icon) { if (icon.startsWith("http")) { @@ -25,8 +22,6 @@ function resolveIcon(icon) { } export default function Item({ service }) { - const { t } = useTranslation(); - const handleOnClick = () => { if (service.href && service.href !== "#") { window.open(service.href, "_blank").focus(); diff --git a/src/components/services/widgets/service/coinmarketcap.jsx b/src/components/services/widgets/service/coinmarketcap.jsx index 8fc30f525..a34e6e924 100644 --- a/src/components/services/widgets/service/coinmarketcap.jsx +++ b/src/components/services/widgets/service/coinmarketcap.jsx @@ -1,13 +1,13 @@ import useSWR from "swr"; import { useState } from "react"; import { useTranslation } from "react-i18next"; +import classNames from "classnames"; import Widget from "../widget"; import Block from "../block"; import Dropdown from "components/services/dropdown"; import { formatApiUrl } from "utils/api-helpers"; -import classNames from "classnames"; export default function CoinMarketCap({ service }) { const { t } = useTranslation(); diff --git a/src/components/widgets/resources/resources.jsx b/src/components/widgets/resources/resources.jsx index 72933a024..a1bf7dfc4 100644 --- a/src/components/widgets/resources/resources.jsx +++ b/src/components/widgets/resources/resources.jsx @@ -3,7 +3,6 @@ import Cpu from "./cpu"; import Memory from "./memory"; export default function Resources({ options }) { - console.log(options); const { expanded } = options; return (