From: SleeplessOne1917 Date: Fri, 23 Jun 2023 14:36:21 +0000 (-0400) Subject: Change function name X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/save/static/%7Bthis.captchaPngSrc%28%29%7D?a=commitdiff_plain;h=8bed597fe06ad542f358b9adc93feb57b8b30c78;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,