fix for when wallet pubkey doesn't exist
This commit is contained in:
parent
50c514939c
commit
eb1fbb1f15
|
@ -97,7 +97,8 @@ const TopBar = () => {
|
|||
<Settings />
|
||||
</div>
|
||||
{mangoAccount &&
|
||||
mangoAccount.owner.toBase58() === wallet?.publicKey.toBase58() ? (
|
||||
mangoAccount.owner.toBase58() ===
|
||||
wallet?.publicKey?.toBase58() ? (
|
||||
<div className="pl-2">
|
||||
<button
|
||||
className="border border-th-bkg-4 py-1 px-2 rounded text-xs focus:outline-none hover:border-th-fgd-4"
|
||||
|
|
Loading…
Reference in New Issue