Skip to content

Commit

Permalink
fix: remove analytics pages (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeaturner authored Nov 7, 2024
1 parent 316cd66 commit 1c30e71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions client/src/Conductor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ const Conductor = () => {
<PrivateRoute exact path='/projects/:id/accessibility' component={ProjectAccessibility} />
<PrivateRoute exact path='/projects/:id/peerreview' component={ProjectPeerReview} />
<PrivateRoute exact path='/projects/:id/timeline' component={ProjectTimeline} />
<PrivateRoute exact path='/analytics/(create)?' component={AnalyticsPortal} />
{/* <PrivateRoute exact path='/analytics/(create)?' component={AnalyticsPortal} />
<PrivateRoute exact path='/analytics/invites' component={AnalyticsInvites} />
<PrivateRoute exact path='/analytics/requestaccess' component={AnalyticsRequestAccess} />
<PrivateRoute exact path='/analytics/:courseID/:pane?/:settingsPane?' component={AnalyticsCourseView} />
<PrivateRoute exact path='/analytics/:courseID/:pane?/:settingsPane?' component={AnalyticsCourseView} /> */}
<PrivateRoute exact path='/account/:activePane?' component={AccountSettings} />
<PrivateRoute exact path='/controlpanel' component={ControlPanel} />
<PrivateRoute exact path='/controlpanel/adoptionreports' component={AdoptionReports} />
Expand Down
7 changes: 0 additions & 7 deletions client/src/components/navigation/Navbar/ConstantMenuItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ const ConstantMenuItems: React.FC<ConstantMenuItemsProps> = ({
setActiveItem(data.name ?? "");
}}
/>
<Menu.Item
name="analytics"
as={Link}
to="/analytics"
active={activeItem === "analytics"}
onClick={(_e, data) => setActiveItem(data.name ?? "")}
/>
</>
);

Expand Down

0 comments on commit 1c30e71

Please sign in to comment.