diff options
author | dan <[email protected]> | 2024-01-03 18:36:53 -0500 |
---|---|---|
committer | dan <[email protected]> | 2024-01-03 18:36:53 -0500 |
commit | 98be17522ef0474a40b134a3ca4e0d2e8096d469 (patch) | |
tree | 9ae3b31c03aa2b3cbd8c2f6942445a1c5a439a4e /src/App.js | |
parent | 3baf3c177f86dcc01ce49e14daec7c5c895eefe6 (diff) | |
download | draggable-form-demo-master.tar.gz draggable-form-demo-master.tar.bz2 draggable-form-demo-master.zip |
Diffstat (limited to 'src/App.js')
-rw-r--r-- | src/App.js | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -7,7 +7,9 @@ import { import Login from "./pages/Login"; import Surveys from "./pages/Surveys"; import NewSurvey from "./pages/NewSurvey"; +import Survey from "./pages/Survey"; import SurveyResults from "./pages/SurveyResults"; +import SurveyAnswer from "./pages/SurveyAnswer"; import SurveyAssignees from "./pages/SurveyAssignees"; import Users from "./pages/Users"; import NavBar from "./components/NavBar"; @@ -53,10 +55,18 @@ function routes({ login, logout, isLoggedIn }) { element: withNavBar(<NewSurvey />), }, { + path: "/surveys/:formId", + element: withNavBar(<Survey />), + }, + { path: "/surveys/:surveyId/results", element: withNavBar(<SurveyResults />), }, { + path: "/surveys/:surveyId/results/:runId/answer", + element: withNavBar(<SurveyAnswer />), + }, + { path: "/surveys/:surveyId/assignees", element: withNavBar(<SurveyAssignees />), }, |