refactor: replace native_db with memdb and add tests

This commit is contained in:
rustmailer
2026-05-14 02:29:23 +08:00
parent 0abaa66a40
commit 5406c4322c
102 changed files with 7225 additions and 2735 deletions
+2 -2
View File
@@ -71,14 +71,14 @@ const MetricCardSkeleton = () => (
const EmptyChart = ({ title }: { title: string }) => (
<div className="h-36 flex flex-col items-center justify-center text-muted-foreground">
<Inbox className="h-12 w-12 mb-3 opacity-40" />
<p className="text-sm font-medium">{title}</p>
<p className="text-xs font-medium">{title}</p>
</div>
);
const EmptyTable = ({ title }: { title: string }) => (
<div className="py-10 text-center text-muted-foreground">
<Inbox className="h-10 w-10 mx-auto mb-3 opacity-40" />
<p className="text-sm font-medium">{title}</p>
<p className="text-xs font-medium">{title}</p>
</div>
);