diff --git a/app/routes/plus.tsx b/app/routes/plus.tsx
index 55f3b1289..482090e11 100644
--- a/app/routes/plus.tsx
+++ b/app/routes/plus.tsx
@@ -10,12 +10,12 @@ export default function PlusPageLayout() {
Suggestions
-
- Voting History
+
+ Results
{canVoteFE() ? (
- Vote
+ Voting
) : null}
diff --git a/app/routes/plus/voting/history.tsx b/app/routes/plus/voting/results.tsx
similarity index 94%
rename from app/routes/plus/voting/history.tsx
rename to app/routes/plus/voting/results.tsx
index 5e460b1d4..ebee15d28 100644
--- a/app/routes/plus/voting/history.tsx
+++ b/app/routes/plus/voting/results.tsx
@@ -31,7 +31,7 @@ export const meta: MetaFunction = () => {
};
};
-interface PlusVotingHistoryLoaderData {
+interface PlusVotingResultsLoaderData {
results: PlusVotingResultByMonthYear["results"];
ownScores?: {
score?: PlusVotingResult["score"];
@@ -47,14 +47,14 @@ export const loader: LoaderFunction = async ({ request }) => {
userId: user?.id,
});
- return json({
+ return json({
results,
ownScores: ownScores?.map(maybeHideScore),
});
};
-export default function PlusVotingHistoryPage() {
- const data = useLoaderData();
+export default function PlusVotingResultsPage() {
+ const data = useLoaderData();
const { month, year } = lastCompletedVoting(new Date());
@@ -87,7 +87,7 @@ export default function PlusVotingHistoryPage() {
}
function Results() {
- const data = useLoaderData();
+ const data = useLoaderData();
return (