fix linting

pull/156/head v0.3.32
Ben Phelps 2 years ago
parent 7f91fe59e2
commit 79e5ff2fea

@ -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();

@ -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();

@ -3,7 +3,6 @@ import Cpu from "./cpu";
import Memory from "./memory";
export default function Resources({ options }) {
console.log(options);
const { expanded } = options;
return (
<div className="flex flex-col max-w:full sm:basis-auto self-center m-auto flex-wrap">

Loading…
Cancel
Save