diff --git a/src/App/Header.svelte b/src/App/Header.svelte index 512e80b8e..7b32ccee1 100644 --- a/src/App/Header.svelte +++ b/src/App/Header.svelte @@ -1,11 +1,22 @@ {#if $httpdStore.state === "authenticated"} @@ -87,13 +87,12 @@ variant="secondary-toggle-off"> Authenticate -
-
- Authenticate with your local backend to make changes +
+ Authenticate with your local node to make changes.
- +
{/if} diff --git a/src/App/Header/Connect.svelte b/src/App/Header/Connect.svelte deleted file mode 100644 index bdab68f25..000000000 --- a/src/App/Header/Connect.svelte +++ /dev/null @@ -1,98 +0,0 @@ - - - - -{#if $httpdStore.state === "stopped"} - - -
-
- Start the backend to browse projecs on your local machine, create - issues, and participate in discussions. -
- -
-
-{:else} - - - -
-
Httpd server running
- -
- radicle.local - - - Browse - -
-
-
-{/if} diff --git a/src/views/session/Index.svelte b/src/views/session/Index.svelte index a869d271f..f27f82336 100644 --- a/src/views/session/Index.svelte +++ b/src/views/session/Index.svelte @@ -8,7 +8,6 @@ import * as httpd from "@app/lib/httpd"; import Loading from "@app/components/Loading.svelte"; - import AuthenticatedModal from "@app/modals/AuthenticatedModal.svelte"; import AuthenticationErrorModal from "@app/modals/AuthenticationErrorModal.svelte"; export let activeRoute: Extract; @@ -21,7 +20,7 @@ const isAuthenticated = await httpd.authenticate(activeRoute.params); if (isAuthenticated) { - modal.show({ component: AuthenticatedModal, props: {} }); + // TODO: Show toast. } else { modal.show({ component: AuthenticationErrorModal,