Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explorer: use wallet kit #6520

Merged
merged 6 commits into from
Dec 5, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
wallet-kit: connect button defaults to type button
  • Loading branch information
pchrysochoidis committed Dec 5, 2022
commit 98fbac091f9472d1cfbed45f8cb802495a42b0ca
1 change: 1 addition & 0 deletions .changeset/fuzzy-monkeys-crash.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@

Prevent AccountModal from appearing for a second after connecting
Dialog backdrop make it visible and clickable
Connect button defaults to type button
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ export function ModuleFunction({
? '!border !border-solid !border-steel !font-mono !text-hero-dark !shadow-sm !shadow-ebony/5'
: '!flex !flex-nowrap !items-center !gap-1 !bg-sui-dark !font-sans !text-sui-light hover:!bg-sui-dark hover:!text-white'
)}
type="button"
/>
</div>
</form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export function ConnectButton({
color="connected"
size="lg"
onClick={() => setAccountModalOpen(true)}
type="button"
{...props}
>
{`${account.slice(0, 4)}...${account.slice(-4)}`}
Expand All @@ -51,6 +52,7 @@ export function ConnectButton({
color="primary"
size="lg"
onClick={() => setConnectModalOpen(true)}
type="button"
{...props}
>
{connectText}
Expand Down