mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-04 22:48:40 +08:00
Chore: another big deps update (#4795)
This commit is contained in:
@@ -2,12 +2,11 @@ import { useRef, useEffect } from "react";
|
||||
import classNames from "classnames";
|
||||
import { Disclosure, Transition } from "@headlessui/react";
|
||||
import { MdKeyboardArrowDown } from "react-icons/md";
|
||||
|
||||
import { columnMap } from "../../utils/layout/columns";
|
||||
|
||||
import List from "components/services/list";
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
|
||||
import { columnMap } from "../../utils/layout/columns";
|
||||
|
||||
export default function ServicesGroup({
|
||||
group,
|
||||
layout,
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
import classNames from "classnames";
|
||||
import { useContext, useState } from "react";
|
||||
import Docker from "widgets/docker/component";
|
||||
import Kubernetes from "widgets/kubernetes/component";
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
|
||||
import Status from "./status";
|
||||
import Widget from "./widget";
|
||||
@@ -7,11 +11,6 @@ import Ping from "./ping";
|
||||
import SiteMonitor from "./site-monitor";
|
||||
import KubernetesStatus from "./kubernetes-status";
|
||||
|
||||
import Docker from "widgets/docker/component";
|
||||
import Kubernetes from "widgets/kubernetes/component";
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
|
||||
export default function Item({ service, groupName, useEqualHeights }) {
|
||||
const hasLink = service.href && service.href !== "#";
|
||||
const { settings } = useContext(SettingsContext);
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
import classNames from "classnames";
|
||||
import Item from "components/services/item";
|
||||
|
||||
import { columnMap } from "../../utils/layout/columns";
|
||||
|
||||
import Item from "components/services/item";
|
||||
|
||||
export default function List({ groupName, services, layout, useEqualHeights, header }) {
|
||||
return (
|
||||
<ul
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useTranslation } from "next-i18next";
|
||||
|
||||
import ErrorBoundary from "components/errorboundry";
|
||||
|
||||
import components from "widgets/components";
|
||||
|
||||
export default function Widget({ widget, service }) {
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
import { useContext } from "react";
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
|
||||
import Error from "./error";
|
||||
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
|
||||
export default function Container({ error = false, children, service }) {
|
||||
const { settings } = useContext(SettingsContext);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user