refactor: conditionally render login content in auth UI and remove unused course enrollment route

This commit is contained in:
Rotimi Best
2026-03-13 22:50:40 +01:00
parent f75c1a1860
commit e84c2026b1
2 changed files with 9 additions and 8 deletions
@@ -30,7 +30,6 @@ export const PUBLIC_ROUTES = [
ROUTE.RESET,
`^${ROUTE.PAGES}/.*`,
`^${ROUTE.COURSE}/[^/]+(/enroll)?/?$`,
`^/course/.*/enroll$`,
`^${ROUTE.COURSES}/?$`,
'/404',
`^${ROUTE.VERIFY_EMAIL_ERROR}$`,