mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-19 11:09:50 +00:00
Chore: another big deps update (#4795)
This commit is contained in:
parent
2881114816
commit
1c24bd7449
165 changed files with 1054 additions and 1121 deletions
|
@ -1,10 +1,9 @@
|
|||
import { useContext } from "react";
|
||||
import classNames from "classnames";
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
|
||||
import Error from "./error";
|
||||
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
|
||||
export default function Container({ children, widget, error = null, chart = true, className = "" }) {
|
||||
const { settings } = useContext(SettingsContext);
|
||||
const hideErrors = settings.hideErrors || widget?.hideErrors;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import { useTranslation } from "next-i18next";
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
|
||||
import Container from "../components/container";
|
||||
import Block from "../components/block";
|
||||
|
||||
import useWidgetAPI from "utils/proxy/use-widget-api";
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
|
||||
const statusMap = {
|
||||
running: <ResolvedIcon icon="mdi-circle" width={32} height={32} />,
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import { useTranslation } from "next-i18next";
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
|
||||
import Container from "../components/container";
|
||||
import Block from "../components/block";
|
||||
|
||||
import useWidgetAPI from "utils/proxy/use-widget-api";
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
|
||||
const statusMap = {
|
||||
R: <ResolvedIcon icon="mdi-circle" width={32} height={32} />, // running
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue