Skip to content

Commit 1b17ae0

Browse files
committed
Rename component to make the usage clearer
Considered PackageVersionListing too but I think this pairs nicer with PackageListing component.
1 parent 34d03db commit 1b17ae0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/cyberstorm-remix/app/p/packageVersion.tsx renamed to apps/cyberstorm-remix/app/p/packageListingVersion.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export function shouldRevalidate(arg: ShouldRevalidateFunctionArgs) {
122122
return arg.defaultShouldRevalidate;
123123
}
124124

125-
export default function PackageVersion() {
125+
export default function PackageListingVersion() {
126126
const { listing, packageVersion, team } = useLoaderData<
127127
typeof loader | typeof clientLoader
128128
>();

apps/cyberstorm-remix/app/routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default [
3535
]),
3636
route(
3737
":namespaceId/:packageId/v/:packageVersion",
38-
"p/packageVersion.tsx",
38+
"p/packageListingVersion.tsx",
3939
[
4040
route(
4141
"/c/:communityId/p/:namespaceId/:packageId/v/:packageVersion/",

0 commit comments

Comments
 (0)