Skip to content

Path builder imageNew -> imagesNew, etc, to match route paths#2030

Merged
david-crespo merged 1 commit into
mainfrom
path-builder-consistent
Mar 5, 2024
Merged

Path builder imageNew -> imagesNew, etc, to match route paths#2030
david-crespo merged 1 commit into
mainfrom
path-builder-consistent

Conversation

@david-crespo

@david-crespo david-crespo commented Mar 4, 2024

Copy link
Copy Markdown
Collaborator

Just a silly inconsistency I noticed recently.

@david-crespo david-crespo requested a review from charliepark March 4, 2024 22:34
@vercel

vercel Bot commented Mar 4, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Mar 4, 2024 10:35pm

Comment thread app/util/path-builder.ts
snapshotImageCreate: (params: Snapshot) =>
`${pb.project(params)}/snapshots/${params.snapshot}/image-new`,
snapshotImagesNew: (params: Snapshot) =>
`${pb.project(params)}/snapshots/${params.snapshot}/images-new`,

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On this one (only this one) I actually changed the route too because it was wrong.

Comment thread app/routes.tsx
/>
<Route
path="snapshots/:snapshot/image-new"
path="snapshots/:snapshot/images-new"

@david-crespo david-crespo Mar 4, 2024

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zero grep results for image-new after changing this

@david-crespo david-crespo merged commit 08bd3fe into main Mar 5, 2024
@david-crespo david-crespo deleted the path-builder-consistent branch March 5, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant