Closed njirwin closed 5 years ago
For example, right now the paths for the Dashboard page are the following:
{/ CUSTOMER PORTAL /}
{/ ADMIN PORTAL /} <Route exact path="/admin/portal" render={props => <Dashboard {...props} userType={0} />} />
{ / TEACHER PORTAL / } <Route exact path="/teacher-portal" render={props => <Dashboard {...props} userType={2} />} />
This should be changed to the following so they all have a common path name that differs only by portal name:
/customer-dashboard /teacher-dashboard /admin-dashboard
All routes have been updated after the client/ directory and all sub-directories were updated. Task complete.
For example, right now the paths for the Dashboard page are the following:
{/ CUSTOMER PORTAL /}
{/ ADMIN PORTAL /} <Route exact path="/admin/portal" render={props => <Dashboard {...props} userType={0} />} />
{ / TEACHER PORTAL / } <Route exact path="/teacher-portal" render={props => <Dashboard {...props} userType={2} />} />
This should be changed to the following so they all have a common path name that differs only by portal name:
/customer-dashboard /teacher-dashboard /admin-dashboard