From: SleeplessOne1917 Date: Sun, 2 Jul 2023 22:14:13 +0000 (-0400) Subject: Move export to barrel file X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/save/%24%7Bargs.thread.url%7D?a=commitdiff_plain;h=02adbea61f181363a30377ab60539e3becb41332;p=lemmy-ui.git Move export to barrel file --- diff --git a/src/shared/components/app/error-page.tsx b/src/shared/components/app/error-page.tsx index 996fcdb..e083276 100644 --- a/src/shared/components/app/error-page.tsx +++ b/src/shared/components/app/error-page.tsx @@ -1,5 +1,5 @@ import { setIsoData } from "@utils/app"; -import removeAuthParam from "@utils/helpers/remove-auth-param"; +import { removeAuthParam } from "@utils/helpers"; import { Component } from "inferno"; import { T } from "inferno-i18next-dess"; import { Link } from "inferno-router"; diff --git a/src/shared/utils/helpers/index.ts b/src/shared/utils/helpers/index.ts index 3420adb..c42f910 100644 --- a/src/shared/utils/helpers/index.ts +++ b/src/shared/utils/helpers/index.ts @@ -17,6 +17,7 @@ import isCakeDay from "./is-cake-day"; import numToSI from "./num-to-si"; import poll from "./poll"; import randomStr from "./random-str"; +import removeAuthParam from "./remove-auth-param"; import sleep from "./sleep"; import validEmail from "./valid-email"; import validInstanceTLD from "./valid-instance-tld"; @@ -43,6 +44,7 @@ export { numToSI, poll, randomStr, + removeAuthParam, sleep, validEmail, validInstanceTLD,