Fix translation issue

This commit is contained in:
shamoon 2025-04-01 09:52:33 -07:00
parent 52399e21e1
commit 6597ec566b
No known key found for this signature in database
8 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
import classNames from "classnames";
import { useTranslation } from "next-i18next";
import { useCallback, useContext, useEffect, useRef, useState } from "react";
import { useTranslation } from "react-i18next";
import useSWR from "swr";
import { SettingsContext } from "utils/contexts/settings";

View File

@ -1,4 +1,4 @@
import { useTranslation } from "react-i18next";
import { useTranslation } from "next-i18next";
import useSWR from "swr";
export default function Ping({ groupName, serviceName, style }) {

View File

@ -1,4 +1,4 @@
import { useTranslation } from "react-i18next";
import { useTranslation } from "next-i18next";
import useSWR from "swr";
export default function SiteMonitor({ groupName, serviceName, style }) {

View File

@ -1,4 +1,4 @@
import { useTranslation } from "react-i18next";
import { useTranslation } from "next-i18next";
import useSWR from "swr";
export default function Status({ service, style }) {

View File

@ -1,4 +1,4 @@
import { useTranslation } from "react-i18next";
import { useTranslation } from "next-i18next";
import { IoAlertCircle } from "react-icons/io5";
function displayError(error) {

View File

@ -1,4 +1,4 @@
import { useTranslation } from "react-i18next";
import { useTranslation } from "next-i18next";
import { BiError } from "react-icons/bi";
import Container from "./container";

View File

@ -1,6 +1,6 @@
import Block from "components/services/widget/block";
import Container from "components/services/widget/container";
import { useTranslation } from "react-i18next";
import { useTranslation } from "next-i18next";
import useWidgetAPI from "utils/proxy/use-widget-api";

View File

@ -1,6 +1,6 @@
import Block from "components/services/widget/block";
import Container from "components/services/widget/container";
import { useTranslation } from "react-i18next";
import { useTranslation } from "next-i18next";
import useWidgetAPI from "utils/proxy/use-widget-api";