Next.js conditional render

Am I doing it right? Just wanted to render proper content in 'Auth' boilerplate component, based on actual route (page). Or maybe it is not a recommended approach?
1 Reply
benton
benton3y ago
Yeah that seems fine

Did you find this page helpful?