From: SleeplessOne1917 Date: Fri, 23 Jun 2023 14:36:21 +0000 (-0400) Subject: Change function name X-Git-Url: http://these/git/%22https:/image.com/static/bundle.js?a=commitdiff_plain;h=847b71319bfafeccc9dc1982229aefaa46493153;p=lemmy-ui.git Change function name --- diff --git a/src/client/index.tsx b/src/client/index.tsx index 1b7dde8..36059f9 100644 --- a/src/client/index.tsx +++ b/src/client/index.tsx @@ -1,4 +1,4 @@ -import { initializeSite, setupI18Next as setupDateFns } from "@utils/app"; +import { initializeSite, setupDateFns } from "@utils/app"; import { hydrate } from "inferno-hydrate"; import { Router } from "inferno-router"; import { App } from "../shared/components/app/app"; diff --git a/src/server/index.tsx b/src/server/index.tsx index 8135e65..25a1be6 100644 --- a/src/server/index.tsx +++ b/src/server/index.tsx @@ -1,4 +1,4 @@ -import { setupI18Next as setupDateFns } from "@utils/app"; +import { setupDateFns } from "@utils/app"; import express from "express"; import path from "path"; import process from "process"; diff --git a/src/shared/utils/app/index.ts b/src/shared/utils/app/index.ts index 378ebb7..9993ac7 100644 --- a/src/shared/utils/app/index.ts +++ b/src/shared/utils/app/index.ts @@ -46,7 +46,7 @@ import searchCommentTree from "./search-comment-tree"; import selectableLanguages from "./selectable-languages"; import setIsoData from "./set-iso-data"; import setTheme from "./set-theme"; -import setupI18Next from "./setup-date-fns"; +import setupDateFns from "./setup-date-fns"; import showAvatars from "./show-avatars"; import showLocal from "./show-local"; import showScores from "./show-scores"; @@ -103,7 +103,7 @@ export { selectableLanguages, setIsoData, setTheme, - setupI18Next, + setupDateFns, showAvatars, showLocal, showScores,