Skip to content

Commit

Permalink
feat: Add new fields to Question interface (#9824)
Browse files Browse the repository at this point in the history
  • Loading branch information
bodhish committed Jan 7, 2025
1 parent 9b33e90 commit 0a019cf
Show file tree
Hide file tree
Showing 5 changed files with 1,224 additions and 6 deletions.
6 changes: 2 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/Routers/routes/questionnaireRoutes.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { QuestionnaireList } from "@/components/Questionnaire";
import QuestionnaireEditor from "@/components/Questionnaire/QuestionnaireEditor";
import { QuestionnaireShow } from "@/components/Questionnaire/show";

import { AppRoutes } from "../AppRouter";

const QuestionnaireRoutes: AppRoutes = {
"/questionnaire": () => <QuestionnaireList />,
"/questionnaire/:id": ({ id }) => <QuestionnaireShow id={id} />,
"/questionnaire/:id/edit": ({ id }) => <QuestionnaireEditor id={id} />,
};

export default QuestionnaireRoutes;
Loading

0 comments on commit 0a019cf

Please sign in to comment.