From 0fa562e6fdd9cb5672f95f7afb004502128788ee Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Sun, 26 Oct 2025 10:01:36 +0100 Subject: [PATCH] Rename order by --- web/components/votes/vote-info.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/components/votes/vote-info.tsx b/web/components/votes/vote-info.tsx index e207df1e..f7c5cccc 100644 --- a/web/components/votes/vote-info.tsx +++ b/web/components/votes/vote-info.tsx @@ -16,7 +16,7 @@ import {Vote, VoteItem} from 'web/components/votes/vote-item' import Link from "next/link"; import {formLink} from "common/constants"; import { ShowMore } from "../widgets/show-more"; -import {ORDER_BY, Constants, OrderBy} from "common/votes/constants"; +import {ORDER_BY, ORDER_BY_CHOICES, OrderBy} from "common/votes/constants"; export function VoteComponent() { const user = useUser() @@ -48,7 +48,7 @@ export function VoteComponent() { > {ORDER_BY.map((key) => ( ))}