diff --git a/.changeset/sixty-dragons-reflect.md b/.changeset/sixty-dragons-reflect.md new file mode 100644 index 00000000..14c88f52 --- /dev/null +++ b/.changeset/sixty-dragons-reflect.md @@ -0,0 +1,5 @@ +--- +"abstraxion-dashboard": minor +--- + +Added receive functionality to dashboard diff --git a/.changeset/stale-apes-talk.md b/.changeset/stale-apes-talk.md new file mode 100644 index 00000000..542f1d12 --- /dev/null +++ b/.changeset/stale-apes-talk.md @@ -0,0 +1,6 @@ +--- +"abstraxion-dashboard": patch +"@burnt-labs/constants": patch +--- + +Update casing of "XION" from across multiple components diff --git a/apps/abstraxion-dashboard/app/layout.tsx b/apps/abstraxion-dashboard/app/layout.tsx index 77212632..fb8c8a2d 100644 --- a/apps/abstraxion-dashboard/app/layout.tsx +++ b/apps/abstraxion-dashboard/app/layout.tsx @@ -32,8 +32,8 @@ const akkuratLL = localFont({ }); export const metadata: Metadata = { - title: "Xion Account Dashboard", - description: "A dashboard for managing Xion accounts.", + title: "XION Account Dashboard", + description: "A dashboard for managing XION accounts.", }; export default function RootLayout({ diff --git a/apps/abstraxion-dashboard/app/page.tsx b/apps/abstraxion-dashboard/app/page.tsx index 6b6ea53a..a14fd6d8 100644 --- a/apps/abstraxion-dashboard/app/page.tsx +++ b/apps/abstraxion-dashboard/app/page.tsx @@ -37,7 +37,7 @@ export default function Home() {
diff --git a/apps/abstraxion-dashboard/components/Overview.tsx b/apps/abstraxion-dashboard/components/Overview.tsx index 8633a7f5..d1eda729 100644 --- a/apps/abstraxion-dashboard/components/Overview.tsx +++ b/apps/abstraxion-dashboard/components/Overview.tsx @@ -1,11 +1,13 @@ import { formatBalance, getCommaSeperatedNumber } from "@/utils"; import { useAccountBalance } from "@/hooks/useAccountBalance"; -import { RightArrowIcon } from "./Icons"; +import { RightArrowIcon, ScanIcon } from "./Icons"; import { WalletSend } from "./WalletSend/WalletSend"; +import { WalletReceive } from "./WalletReceive"; +import { AbstraxionAccount } from "@/hooks"; export const XION_TO_USDC_CONVERSION = 50; -export const Overview = () => { +export const Overview = ({ account }: { account?: AbstraxionAccount }) => { const { balanceInfo: accountBalance, sendTokens } = useAccountBalance(); const xionBalance = accountBalance?.balances.find( @@ -42,6 +44,16 @@ export const Overview = () => { {/*