-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(billing): enable balances fetching back
- Loading branch information
1 parent
4e9d227
commit eaa42a5
Showing
4 changed files
with
42 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import { useWallet } from "@src/context/WalletProvider/WalletProvider"; | ||
import { ConnectManagedWalletButton } from "../wallet/ConnectManagedWalletButton"; | ||
|
||
export function CreditCardBanner() { | ||
const { hasManagedWallet } = useWallet(); | ||
|
||
return ( | ||
<div className="fixed top-0 z-10 flex h-[40px] w-full items-center justify-center bg-primary px-3 py-2 md:space-x-4"> | ||
<span className="text-xs font-semibold text-white md:text-sm"> | ||
Console is experiencing issues causing balance not being reflected accurately. Other functionality should work as expected. Reach out to the console | ||
team on{" "} | ||
<a href="https://discord.com/invite/akash" className="text-white underline"> | ||
discord | ||
</a> | ||
, if you experience issues. | ||
</span> | ||
<span className="text-xs font-semibold text-white md:text-sm">Credit Card payments are now available!</span> | ||
|
||
{!hasManagedWallet && <ConnectManagedWalletButton className="flex-shrink-0 text-white hover:text-white" size="sm" variant="text" />} | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters