Skip to content

Commit 158e46d

Browse files
committed
fix: route error fix
1 parent 858d345 commit 158e46d

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/components/CommunityPortal/Attendence/NoshowViz.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
getUniqueEventTypes,
2323
getAttendanceByDay,
2424
} from '../../../actions/communityPortal/NoShowVizActions';
25-
import './NoshowViz.css';
25+
import styles from './NoshowViz.module.css';
2626

2727
function EventNoShowChart() {
2828
const [period, setPeriod] = useState('month');

src/components/CommunityPortal/Attendence/NoshowViz.css renamed to src/components/CommunityPortal/Attendence/NoshowViz.module.css

File renamed without changes.

src/routes.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ import FeedbackModal from './components/HGNHelpSkillsDashboard/FeedbackModal';
9595
import Activity from './components/CommunityPortal/Activities/activityId/Activity';
9696
import ActivityAttendance from './components/CommunityPortal/Activities/ActivityAttendance';
9797
import ActivityAgenda from './components/CommunityPortal/Activities/ActivityAgenda';
98-
import NoshowViz from './components/CommunityPortal/Attendence/NoshowViz';
98+
import EventNoShowChart from './components/CommunityPortal/Attendence/NoshowViz';
9999
import EventList from './components/CommunityPortal/Event/EventList/EventList';
100100
import Resources from './components/CommunityPortal/Activities/activityId/Resources';
101101
import EventParticipation from './components/CommunityPortal/Reports/Participation/EventParticipation';
@@ -774,6 +774,10 @@ export default (
774774
exact
775775
component={EventParticipation}
776776
/>
777+
<CPProtectedRoute
778+
path="/communityportal/reports/EventNoShowChart"
779+
component={EventNoShowChart}
780+
/>
777781
{/* Good Education Portal Routes */}
778782
<EPProtectedRoute path="/educationportal" exact component={EPDashboard} />
779783
<EPProtectedRoute

0 commit comments

Comments
 (0)