Skip to content

Commit

Permalink
problem: can't test cosmos extension locally
Browse files Browse the repository at this point in the history
  • Loading branch information
gsovereignty committed Sep 29, 2024
1 parent 4b2a0a4 commit 218eacc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Login.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import { goto } from '$app/navigation';
import { base } from '$app/paths';
import { connectToBunker, loginWithNsec, purgeSignedInStorage } from '@/login';
import { pubkey } from '@/stores/session';
import { devmode, pubkey } from '@/stores/session';
$: isLoading = true;
Expand Down Expand Up @@ -90,6 +90,11 @@
</Dialog.Header>
<Button on:click={loginByExtension} class="w-full">Browser Extension</Button>
<div class="w-full space-y-2">
{#if $devmode}<Button
on:click={() => {
console.log(window.cosmostation, window.keplr);
}}>Cosmos Test</Button
>{/if}
<UseTemporaryAccount />
<ConnectToBunker />
</div>
Expand Down

0 comments on commit 218eacc

Please sign in to comment.