Skip to content

Commit 19ef40b

Browse files
committed
refactor: rename Result page to Results
1 parent c890aa3 commit 19ef40b

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/app-routes.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Friends } from "./views/friends";
55
import { History } from "./views/history";
66
import { Live } from "./views/live";
77
import { Readme } from "./views/readme/readme";
8-
import { Result } from "./views/result";
8+
import { Results } from "./views/results";
99
import { SymbolButton } from "./domains/ui/components/buttons/symbol-button";
1010
import { TimeTrialPlayer } from "./domains/time-trial/components/time-trial-player";
1111
import { ValibotImportButton } from "./domains/database/components/valibot-import-button/valibot-import-button";
@@ -49,7 +49,7 @@ export const AppRoutes: Component = () => {
4949
<header>
5050
<nav class={sNav}>
5151
<A href="/live">Live</A>
52-
<A href="/result">Result</A>
52+
<A href="/results">Results</A>
5353
<A href="/world-records">World Records</A>
5454
<A href="/history">History</A>
5555
<A href="/friends">Friends</A>
@@ -81,7 +81,7 @@ export const AppRoutes: Component = () => {
8181
return (
8282
<Route component={AppWrapper}>
8383
<Route path="live" component={Live} />
84-
<Route path="result" component={Result} />
84+
<Route path="results" component={Results} />
8585
<Route path="world-records" component={WorldRecords} />
8686
<Route path="history" component={History} />
8787
<Route path="friends" component={Friends} />
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const sTime = cellCss({
2222
mono: true,
2323
});
2424

25-
export const Result: Component = () => {
25+
export const Results: Component = () => {
2626
const personal = usePersonalRepository();
2727
const { setTitle } = usePageTitle();
2828
const { filtered, AttemptsFilter } = useAttemptsFilter({
@@ -33,7 +33,7 @@ export const Result: Component = () => {
3333
});
3434

3535
onMount(() => {
36-
setTitle("Result");
36+
setTitle("Results");
3737
});
3838

3939
return (

0 commit comments

Comments
 (0)