Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennievon committed Nov 28, 2023
1 parent 8c736b7 commit 1897b5b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tools/obscuroscan_v3/frontend/pages/batches/[hash].tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { fetchBatchByHash } from "@/api/batches";
import Layout from "@/src/components/layouts/default-layout";
import { BatchDetails } from "@/src/components/modules/batches/batch-details";
import { BatchDetailsComponent } from "@/src/components/modules/batches/batch-details";
import {
Card,
CardHeader,
Expand Down Expand Up @@ -36,7 +36,7 @@ export default function Batch() {
</CardDescription>
</CardHeader>
<CardContent>
<BatchDetails batchDetails={batchDetails} />
<BatchDetailsComponent batchDetails={batchDetails} />
</CardContent>
</Card>
) : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
TwitterLogoIcon,
DiscordLogoIcon,
} from "@radix-ui/react-icons";
import Link from "next/link";

export default function Footer() {
return (
Expand All @@ -30,18 +31,18 @@ export default function Footer() {
</a>
</div>
<div className="flex items-center space-x-4">
<a
<Link
href="/docs/privacy"
className="text-sm font-medium text-muted-foreground transition-colors hover:text-primary"
>
Privacy
</a>
<a
</Link>
<Link
href="/docs/terms"
className="text-sm font-medium text-muted-foreground transition-colors hover:text-primary"
>
Terms
</a>
</Link>
<div className="text-sm font-medium text-muted-foreground">
Version: {version}
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Separator } from "@/src/components/ui/separator";
import TruncatedAddress from "../common/truncated-address";
import { BatchDetails } from "@/src/types/interfaces/BatchInterfaces";
import KeyValueItem, { KeyValueList } from "@/src/components/ui/key-value";
import { formatTimeAgo } from "@/src/lib/utils";
import { Badge } from "@/src/components/ui/badge";
import { BatchDetails } from "@/src/types/interfaces/BatchInterfaces";

export function BatchDetailsComponent({
batchDetails,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default function PersonalTransactions() {
columns={columns}
data={personalTxns?.Results}
toolbar={toolbar}
total={personalTxns?.Total}
/>
) : (
<p>No transactions found.</p>
Expand Down

0 comments on commit 1897b5b

Please sign in to comment.