From c8ac47b8242752099846c238ef4c6168fb0955b5 Mon Sep 17 00:00:00 2001 From: Akshith <33996844+akshith312@users.noreply.github.com> Date: Mon, 5 Jan 2026 17:21:12 -0500 Subject: [PATCH] fix: added missing module.css file --- src/components/{ => PRDashboard}/PRDashboard.jsx | 3 ++- src/components/PRDashboard/PRDashboard.module.css | 3 +++ src/routes.jsx | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) rename src/components/{ => PRDashboard}/PRDashboard.jsx (73%) create mode 100644 src/components/PRDashboard/PRDashboard.module.css diff --git a/src/components/PRDashboard.jsx b/src/components/PRDashboard/PRDashboard.jsx similarity index 73% rename from src/components/PRDashboard.jsx rename to src/components/PRDashboard/PRDashboard.jsx index e1b9a68629..1758560d3a 100644 --- a/src/components/PRDashboard.jsx +++ b/src/components/PRDashboard/PRDashboard.jsx @@ -1,4 +1,5 @@ import hasPermission from '~/utils/permissions'; +import styles from './PRDashboard.module.css'; function PRDashboard({ authUser }) { if (!hasPermission('accessPRTeamDashboard', authUser?.permissions)) { @@ -7,7 +8,7 @@ function PRDashboard({ authUser }) { return (
-

PR Team Dashboard

+

PR Team Dashboard

{/* actual dashboard content */}
); diff --git a/src/components/PRDashboard/PRDashboard.module.css b/src/components/PRDashboard/PRDashboard.module.css new file mode 100644 index 0000000000..cf04b1bbed --- /dev/null +++ b/src/components/PRDashboard/PRDashboard.module.css @@ -0,0 +1,3 @@ +.prdashcontainer { + padding: 2rem; +} \ No newline at end of file diff --git a/src/routes.jsx b/src/routes.jsx index 0859e39d27..51542b19ce 100644 --- a/src/routes.jsx +++ b/src/routes.jsx @@ -20,7 +20,7 @@ import Timelog from './components/Timelog'; import UserProfileEdit from './components/UserProfile/UserProfileEdit'; import EditableInfoModal from './components/UserProfile/EditableModal/EditableInfoModal'; import RoleInfoCollections from './components/UserProfile/EditableModal/RoleInfoModal'; -import PRDashboard from './components/PRDashboard'; +import PRDashboard from './components/PRDashboard/PRDashboard'; import ApplicationTimeChartPage from './components/ApplicationTimeChart'; import ApplicantsChart from './components/ApplicantsChart'; import ApplicationAnalyticsContainer from './components/ApplicationAnalytics';