shorten path
This commit is contained in:
@@ -56,11 +56,9 @@ export function StepInfo({
|
|||||||
const tldtsRef = React.useRef<typeof tldts>()
|
const tldtsRef = React.useRef<typeof tldts>()
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
// @ts-expect-error - valid path
|
// @ts-expect-error - valid path
|
||||||
import('../../../../node_modules/tldts/dist/index.cjs.min.js').then(
|
import('tldts/dist/index.cjs.min.js').then(tldts => {
|
||||||
tldts => {
|
tldtsRef.current = tldts
|
||||||
tldtsRef.current = tldts
|
})
|
||||||
},
|
|
||||||
)
|
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
const onNextPress = () => {
|
const onNextPress = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user