shorten path

This commit is contained in:
Hailey
2024-09-19 12:33:46 -07:00
parent 3e1debc557
commit 2f4177191a
+3 -5
View File
@@ -56,11 +56,9 @@ export function StepInfo({
const tldtsRef = React.useRef<typeof tldts>()
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 = () => {