+
+
-
{name}
-
{value || 0}
+
{name}
+
+ {value || 0}
+
);
diff --git a/components/ui/Divider.tsx b/components/ui/Divider.tsx
index 80f50d8..b3b2f62 100644
--- a/components/ui/Divider.tsx
+++ b/components/ui/Divider.tsx
@@ -3,10 +3,15 @@ import React from "react";
type Props = {
className?: string;
+ vertical?: boolean;
};
-function Divider({ className }: Props) {
- return
;
+function Divider({ className, vertical = false }: Props) {
+ return vertical ? (
+
+ ) : (
+
+ );
}
export default Divider;
diff --git a/pages/dashboard.tsx b/pages/dashboard.tsx
index cbec492..d58ddc9 100644
--- a/pages/dashboard.tsx
+++ b/pages/dashboard.tsx
@@ -16,6 +16,7 @@ import { useTags } from "@/hooks/store/tags";
import { useDashboardData } from "@/hooks/store/dashboardData";
import Links from "@/components/LinkViews/Links";
import useLocalSettingsStore from "@/store/localSettings";
+import Divider from "@/components/ui/Divider";
export default function Dashboard() {
const { t } = useTranslation();
@@ -112,7 +113,7 @@ export default function Dashboard() {