Skip to content

Commit 2ae18eb

Browse files
authored
Merge pull request #8 from alexechoi/alex/add-format-check
Add format check
2 parents 0cd1882 + a643126 commit 2ae18eb

File tree

4 files changed

+1326
-4
lines changed

4 files changed

+1326
-4
lines changed

junction-app/app/dashboard/page.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { useEffect, useState } from "react";
44
import { useAuth } from "@/contexts/AuthContext";
55
import { useRouter } from "next/navigation";
6-
import { ArrowUpRight, FileUp, Loader2, Upload } from "lucide-react";
6+
import { FileUp, Loader, Upload } from "lucide-react";
77

88
export default function DashboardPage() {
99
const { user } = useAuth();
@@ -51,9 +51,11 @@ export default function DashboardPage() {
5151
file for inspection.
5252
</p>
5353
</div>
54-
<button className="inline-flex items-center gap-2 rounded-full border border-white/10 px-4 py-2 text-sm text-white/70 transition hover:border-white/30 hover:text-white">
54+
<button
55+
onClick={() => router.push("/reports")}
56+
className="inline-flex items-center gap-2 rounded-full border border-white/10 px-4 py-2 text-sm text-white/70 transition hover:border-white/30 hover:text-white"
57+
>
5558
View reports
56-
<ArrowUpRight className="size-4" />
5759
</button>
5860
</div>
5961

@@ -119,7 +121,7 @@ export default function DashboardPage() {
119121
>
120122
{isSubmitting ? (
121123
<>
122-
<Loader2 className="mr-2 size-5 animate-spin" />
124+
<Loader className="mr-2 size-5 animate-spin" />
123125
Processing
124126
</>
125127
) : (

0 commit comments

Comments
 (0)