Role based routes in next.js in React – SEO
I am quite new to React, I got a starter kit which has next.js for authentication in React. I want to restrict access to admin routes when a user accesses them. I have two roles, admin and user, which gets…