Skip to content

Commit

Permalink
clarify component use
Browse files Browse the repository at this point in the history
  • Loading branch information
sameoldlab committed Aug 1, 2024
1 parent a8c95c9 commit d6cd664
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions examples/svelte/src/App.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import { addEvmConnection } from '@fractl-ui/evm'
import { create } from 'fractl-ui'
import { ConnectModal, AccountModal } from 'fractl-ui/svelte'
import { AccountModal } from 'fractl-ui/svelte'
import wagmiConfig from './lib/wagmiConfig'
import { onMount } from 'svelte'
import { reconnect } from '@wagmi/core'
Expand Down Expand Up @@ -49,11 +49,12 @@
{#if account}
<AccountModal {...account} />
{/if}

<!--
{#if connected}
<AccountDialog config={$config}></AccountDialog>
{/if} -->
Future versions of ConnectModal will not include a button.
FractlModal will take care of transitions swapping between connection states.
A reuglar button can also be used to trigger the connect moadal
<FractlModal {config} />
-->
</main>
<footer class="links">
<a href="https://github.com/sameoldlab/fractl-ui">
Expand Down

0 comments on commit d6cd664

Please sign in to comment.