Skip to content

Commit 21d8137

Browse files
committed
Fix for typecheck issues
1 parent df75003 commit 21d8137

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/webapp/app/components/primitives/FormButtons.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function FormButtons({
77
className,
88
}: {
99
cancelButton?: React.ReactNode;
10-
confirmButton: React.ReactNode;
10+
confirmButton?: React.ReactNode;
1111
defaultAction?: { name: string; value: string; disabled?: boolean };
1212
className?: string;
1313
}) {
@@ -29,7 +29,7 @@ export function FormButtons({
2929
aria-hidden="true"
3030
/>
3131
)}
32-
{cancelButton ? cancelButton : <div />} {confirmButton}
32+
{cancelButton ? cancelButton : <div />} {confirmButton ?? null}
3333
</div>
3434
);
3535
}

apps/webapp/app/routes/storybook.charts/route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ function ChartsDashboard() {
259259
<BigNumberCard
260260
rows={[{ amount: 101 }]}
261261
columns={[{ name: "amount", type: "Float64" }]}
262-
config={{ column: "amount", aggregation: "sum" }}
262+
config={{ column: "amount", aggregation: "sum", abbreviate: true }}
263263
/>
264264
</Card.Content>
265265
</Card>

0 commit comments

Comments
 (0)