refactor: standardize quotation marks across all files and improve code consistency
This commit is contained in:
34
app/page.tsx
34
app/page.tsx
@@ -1,17 +1,17 @@
|
||||
"use client"
|
||||
"use client";
|
||||
|
||||
import { Sidebar } from "@/components/dashboard/sidebar"
|
||||
import { OverviewCards } from "@/components/dashboard/overview-cards"
|
||||
import { RecentTransactions } from "@/components/dashboard/recent-transactions"
|
||||
import { AccountsSummary } from "@/components/dashboard/accounts-summary"
|
||||
import { CategoryBreakdown } from "@/components/dashboard/category-breakdown"
|
||||
import { OFXImportDialog } from "@/components/import/ofx-import-dialog"
|
||||
import { useBankingData } from "@/lib/hooks"
|
||||
import { Button } from "@/components/ui/button"
|
||||
import { Upload, RefreshCw } from "lucide-react"
|
||||
import { Sidebar } from "@/components/dashboard/sidebar";
|
||||
import { OverviewCards } from "@/components/dashboard/overview-cards";
|
||||
import { RecentTransactions } from "@/components/dashboard/recent-transactions";
|
||||
import { AccountsSummary } from "@/components/dashboard/accounts-summary";
|
||||
import { CategoryBreakdown } from "@/components/dashboard/category-breakdown";
|
||||
import { OFXImportDialog } from "@/components/import/ofx-import-dialog";
|
||||
import { useBankingData } from "@/lib/hooks";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Upload, RefreshCw } from "lucide-react";
|
||||
|
||||
export default function DashboardPage() {
|
||||
const { data, isLoading, refresh } = useBankingData()
|
||||
const { data, isLoading, refresh } = useBankingData();
|
||||
|
||||
if (isLoading || !data) {
|
||||
return (
|
||||
@@ -21,7 +21,7 @@ export default function DashboardPage() {
|
||||
<RefreshCw className="w-8 h-8 animate-spin text-muted-foreground" />
|
||||
</main>
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
@@ -31,8 +31,12 @@ export default function DashboardPage() {
|
||||
<div className="p-6 space-y-6">
|
||||
<div className="flex items-center justify-between">
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold text-foreground">Tableau de bord</h1>
|
||||
<p className="text-muted-foreground">Vue d'ensemble de vos finances</p>
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
Tableau de bord
|
||||
</h1>
|
||||
<p className="text-muted-foreground">
|
||||
Vue d'ensemble de vos finances
|
||||
</p>
|
||||
</div>
|
||||
<OFXImportDialog onImportComplete={refresh}>
|
||||
<Button>
|
||||
@@ -54,5 +58,5 @@ export default function DashboardPage() {
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user