Skip to content

Commit

Permalink
improve reponsive
Browse files Browse the repository at this point in the history
  • Loading branch information
sainthiago committed Jan 22, 2024
1 parent 90a0a4a commit 37483af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contract-deployer/src/components/NearWalletSelector.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client"
"use client";

import { useMbWallet } from "@mintbase-js/react";
import { Button } from "@/components/ui/button"
import { Button } from "@/components/ui/button";

export const NearWalletConnector = () => {
const { connect, disconnect, activeAccountId, isConnected } = useMbWallet();
Expand All @@ -11,8 +11,8 @@ export const NearWalletConnector = () => {
}

return (
<div className="fixed flex w-[350] h-[200] justify-center items-center right-5 bottom-5">
<p className="pt-5"> You are connected as <b>{activeAccountId}</b></p>
<div className="fixed flex flex-wrap w-[350] h-[200] justify-center items-center right-5 bottom-5">
<b className="pt-5 truncate">{activeAccountId}</b>
<div className="flex justify-center items-center mt-4 ml-4">
<Button onClick={disconnect}> Disconnect</Button>
</div>
Expand Down

0 comments on commit 37483af

Please sign in to comment.