From 02adbea61f181363a30377ab60539e3becb41332 Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 <abias1122@gmail.com> Date: Sun, 2 Jul 2023 18:14:13 -0400 Subject: [PATCH] Move export to barrel file --- src/shared/components/app/error-page.tsx | 2 +- src/shared/utils/helpers/index.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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, -- 2.44.1