Skip to content

Commit d673bae

Browse files
committed
refactor: update route parameter name from version2 to version in PacerVersionIndex component
1 parent 9e6df93 commit d673bae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routes/_libraries/pacer.$version.index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const library = getLibrary('pacer')
2626

2727
export default function PacerVersionIndex() {
2828
const { sponsorsPromise } = librariesRouteApi.useLoaderData()
29-
const { version2 } = Route.useParams()
29+
const { version } = Route.useParams()
3030

3131
const gradientText = `inline-block text-transparent bg-clip-text bg-gradient-to-r ${pacerProject.colorFrom} ${pacerProject.colorTo}`
3232

0 commit comments

Comments
 (0)