mirror of
https://github.com/gethomepage/homepage.git
synced 2026-09-27 14:31:17 -07:00
Chore(deps): Bump next-i18next from 15.4.3 to 16.0.7 (#6732)
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com> Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
co-authored by
shamoon
parent
c7aad6e975
commit
593c18dc4c
@@ -1,5 +1,5 @@
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
import { useTranslation } from "next-i18next";
|
||||
import { useTranslation } from "next-i18next/pages";
|
||||
|
||||
import Block from "../components/block";
|
||||
import Container from "../components/container";
|
||||
|
||||
@@ -11,7 +11,7 @@ vi.mock("utils/proxy/use-widget-api", () => ({ default: useWidgetAPI }));
|
||||
// Avoid pulling Next/Image + ThemeContext requirements into these unit tests.
|
||||
vi.mock("components/resolvedicon", () => ({ default: () => <span data-testid="resolvedicon" /> }));
|
||||
|
||||
vi.mock("next-i18next", () => ({
|
||||
vi.mock("next-i18next/pages", () => ({
|
||||
useTranslation: () => ({
|
||||
t: (key, opts) => (key === "common.bytes" ? `${key}:${opts?.value}` : key),
|
||||
}),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { useTranslation } from "next-i18next";
|
||||
import { useTranslation } from "next-i18next/pages";
|
||||
import dynamic from "next/dynamic";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { useTranslation } from "next-i18next";
|
||||
import { useTranslation } from "next-i18next/pages";
|
||||
import dynamic from "next/dynamic";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { useTranslation } from "next-i18next";
|
||||
import { useTranslation } from "next-i18next/pages";
|
||||
|
||||
import Block from "../components/block";
|
||||
import Container from "../components/container";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { useTranslation } from "next-i18next";
|
||||
import { useTranslation } from "next-i18next/pages";
|
||||
import dynamic from "next/dynamic";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { useTranslation } from "next-i18next";
|
||||
import { useTranslation } from "next-i18next/pages";
|
||||
|
||||
import Block from "../components/block";
|
||||
import Container from "../components/container";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { useTranslation } from "next-i18next";
|
||||
import { useTranslation } from "next-i18next/pages";
|
||||
import dynamic from "next/dynamic";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { useTranslation } from "next-i18next";
|
||||
import { useTranslation } from "next-i18next/pages";
|
||||
import dynamic from "next/dynamic";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
import { useTranslation } from "next-i18next";
|
||||
import { useTranslation } from "next-i18next/pages";
|
||||
|
||||
import Block from "../components/block";
|
||||
import Container from "../components/container";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { useTranslation } from "next-i18next";
|
||||
import { useTranslation } from "next-i18next/pages";
|
||||
import dynamic from "next/dynamic";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user