Skip to content

Commit 1a988c4

Browse files
committed
Use the Button component
1 parent e83ec07 commit 1a988c4

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

apps/webapp/app/components/runs/v3/SharedFilters.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -739,12 +739,8 @@ export function dateFromString(value: string | undefined | null): Date | undefin
739739

740740
function QuickDateButton({ label, onClick }: { label: string; onClick: () => void }) {
741741
return (
742-
<button
743-
type="button"
744-
onClick={onClick}
745-
className="rounded border border-charcoal-650 bg-charcoal-750 px-2 py-0.5 text-xs text-text-dimmed transition hover:border-charcoal-600 hover:text-text-bright"
746-
>
742+
<Button type="button" variant="secondary/small" onClick={onClick} fullWidth>
747743
{label}
748-
</button>
744+
</Button>
749745
);
750746
}

0 commit comments

Comments
 (0)