diff --git a/src/screens/Welcome/index.tsx b/src/screens/Welcome/index.tsx index d34a8eb..42e1f8a 100644 --- a/src/screens/Welcome/index.tsx +++ b/src/screens/Welcome/index.tsx @@ -26,8 +26,8 @@ const WelcomeScreen = () => { return; } - postStore.setUrl(url); - api.createApiInstance(url); + postStore.setUrl(url.trim()); + api.createApiInstance(url.trim()); postStore.getPosts().then(post => { if (!post?.length) { @@ -72,7 +72,7 @@ const WelcomeScreen = () => { { - postStore.setUrl(url); + postStore.setUrl(url.trim()); setExampleWpSitesModalVisible(false); onConvertWpIntoMobile(); }}