Skip to content
About

Cleaning out an old guest who already left

Removed a leftover library from the blog project after the feature it powered was deleted months ago.

1 min readEvergreen
On this page

You know how you sometimes find a coat in your closet that belongs to someone who moved out? That was next-auth in this project.

What happened

A while back, I deleted the guestbook feature from the blog. The actual guestbook pages, gone. But I forgot to remove the library that powered the sign-in flow for it. So next-auth — a whole authentication package — was just sitting there, installed, doing nothing, getting bundled into the project for no reason.

This change removed it, updated the lockfile, and cleaned up the example environment file that still had guestbook-related settings in it. Also updated a comment that said /blog to say /essays, since that's what the section is actually called now.

Three files changed. The project is now a little lighter and a little less confusing for anyone who looks at the setup file and wonders why there's an OAuth secret for a feature that doesn't exist.


PR: https://github.com/StevieIsmagic/vercel_blog/pull/10

Enjoyed this? Join the newsletter.

New essays and notes straight to your inbox.

Newsletter coming soon — stay tuned.