Setting up router resolver using slice machine on next.js

I'm getting this error when working through the advanced tutorial here: The Route Resolver - Prismic

Server Error

Error: The provided path / does not match the page: /[category]/[uid].

I only want to create a /:category/:uid/ path.

REPO:

Any help or direction you could provide is greatly appreciated it!

Hey Rowan,

I checked out your project and seems like it should work.

Are you still seeing the error? I'm testing further.

Thanks.

I guess it's coming from formatPaths in the [uid].js file not the route resolver, I'm investigating further.