From 2f4177191a63fe743c5289d80db52c5b03a1af29 Mon Sep 17 00:00:00 2001 From: Hailey Date: Thu, 19 Sep 2024 12:33:46 -0700 Subject: [PATCH] shorten path --- src/screens/Signup/StepInfo/index.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/screens/Signup/StepInfo/index.tsx b/src/screens/Signup/StepInfo/index.tsx index 092f2529a2..7be7c4fef2 100644 --- a/src/screens/Signup/StepInfo/index.tsx +++ b/src/screens/Signup/StepInfo/index.tsx @@ -56,11 +56,9 @@ export function StepInfo({ const tldtsRef = React.useRef() React.useEffect(() => { // @ts-expect-error - valid path - import('../../../../node_modules/tldts/dist/index.cjs.min.js').then( - tldts => { - tldtsRef.current = tldts - }, - ) + import('tldts/dist/index.cjs.min.js').then(tldts => { + tldtsRef.current = tldts + }) }, []) const onNextPress = () => {