diff --git a/README.md b/README.md index b5e1cc6..2b1b5be 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,4 @@ You can get the executable version of the tool from the [releases](https://githu ### Running from the source - Clone this repository - Install the dependencies: `npm install` -- Run it: `npm run start` - -### How to use this tool -- Tool Overview: https://hubs.mozilla.com/labs/downloading-your-data -- Written Docs: https://hubs.mozilla.com/docs/download-data.html -- Youtube Video: TBD \ No newline at end of file +- Run it: `npm run start` \ No newline at end of file diff --git a/src/renderer/components/Layout.tsx b/src/renderer/components/Layout.tsx index 7f5b7f5..651c7d1 100644 --- a/src/renderer/components/Layout.tsx +++ b/src/renderer/components/Layout.tsx @@ -42,18 +42,10 @@ export default function App({ children }: Props): JSX.Element { setOpen(false); }, [setOpen]); - const openHelp = useCallback(() => { - window.electronAPI.openInBrowser("https://hubs.mozilla.com/labs/downloading-your-data/"); - }, []); - const openVideo = useCallback(() => { window.electronAPI.openInBrowser("https://youtu.be/vnkgGLkcxuk"); }, []); - const openDocs = useCallback(() => { - window.electronAPI.openInBrowser("https://hubs.mozilla.com/docs/download-data.html"); - }, []); - return ( <> @@ -75,15 +67,9 @@ export default function App({ children }: Props): JSX.Element { - - - - - - diff --git a/src/renderer/hooks/useStorage.ts b/src/renderer/hooks/useStorage.ts index 9d47bf4..35c50b7 100644 --- a/src/renderer/hooks/useStorage.ts +++ b/src/renderer/hooks/useStorage.ts @@ -40,7 +40,7 @@ export function useStorage(): { localStorage.getItem("lastLogin") ? JSON.parse(localStorage.getItem("lastLogin")) : { - host: "hubs.mozilla.com", + host: "your.host.com", port: "", email: "", } diff --git a/src/renderer/pages/Login.tsx b/src/renderer/pages/Login.tsx index fc89506..70ad537 100644 --- a/src/renderer/pages/Login.tsx +++ b/src/renderer/pages/Login.tsx @@ -61,10 +61,6 @@ export default function Login(): JSX.Element { } }; - const handleMail = useCallback(() => { - window.electronAPI.openInBrowser("mailto:hubs-feedback@mozilla.com"); - }, []); - const showErrorLog = useCallback(() => { return running || (result !== null); }, [running, result]); @@ -76,7 +72,7 @@ export default function Login(): JSX.Element { - + @@ -173,11 +169,7 @@ export default function Login(): JSX.Element { > {running && <> {`Email sent to ${email}.`}

- {`To continue, click on the link in the email using your phone, tablet, or PC. If you are having trouble finding this email, please check your spam or junk folders.`}

- {`If you still cannot locate the log-in email, please contact us:`} - { - - } + {`To continue, click on the link in the email using your phone, tablet, or PC. If you are having trouble finding this email, please check your spam or junk folders.`} } {(!running && result === false) && <> {`An error happened when connecting to the server. Please check your connection settings and try again.`}