+
+
+
+ )}
+
+
+ }
+
+ {tokens.length !== 0 && (
+
+
+
+ {tokens.length !== 0 && diff --git a/components/dashboard/index.tsx b/components/dashboard/index.tsx new file mode 100644 index 00000000..547fbf20 --- /dev/null +++ b/components/dashboard/index.tsx @@ -0,0 +1,50 @@ +import { defi, price } from "../../utils/tzktHooks"; +import Assets from "./assets"; +import Balance from "./balance"; +import Donut from "./donut"; + +type DashboardProperty = { + balance: number; + tokens: defi[]; + price: price | null; +}; + +const Dashboard = ({ balance, tokens, price }: DashboardProperty) => { + return ( + <> +