feat: implement loading indicators in transactions page and loading component for improved user feedback during data fetching

This commit is contained in:
Julien Froidefond
2025-12-08 09:19:21 +01:00
parent 28baf9aa9e
commit c47ea045cc
2 changed files with 25 additions and 7 deletions

View File

@@ -1,3 +1,11 @@
import { RefreshCw } from "lucide-react";
export default function Loading() {
return null;
return (
<div className="flex h-screen bg-background">
<main className="flex-1 flex items-center justify-center">
<RefreshCw className="w-8 h-8 animate-spin text-muted-foreground" />
</main>
</div>
);
}