fix(heatmap): replace SelectValue component with span for displaying selected value

This commit is contained in:
null 2026-05-22 21:04:02 -05:00
parent bf986529b3
commit d850b9bbfb
1 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,6 @@ import {
SelectContent, SelectContent,
SelectItem, SelectItem,
SelectTrigger, SelectTrigger,
SelectValue,
} from "@/components/ui/select"; } from "@/components/ui/select";
interface ForgejoHeatmapProps { interface ForgejoHeatmapProps {
@ -150,7 +149,7 @@ function RangeSelect({
} }
} }
> >
<SelectValue /> <span>{value}</span>
</SelectTrigger> </SelectTrigger>
<SelectContent align="end" className="min-w-[8rem]"> <SelectContent align="end" className="min-w-[8rem]">
{RANGE_LABELS.map((range) => ( {RANGE_LABELS.map((range) => (