Skip to content

Commit

Permalink
remove questions, help label
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjrobins committed Nov 10, 2023
1 parent 162086b commit 429947c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
16 changes: 5 additions & 11 deletions frontend-v2/src/features/help/Help.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ const Help: React.FC = () => {
}});

const questions = [
generic_questions.slice(0, 2),
generic_questions.slice(0, 4),
generic_questions.slice(0, 3),
generic_questions.slice(0, 5),
generic_questions.slice(0, 1),
generic_questions.slice(0, 0),
generic_questions.slice(0, 0),
generic_questions.slice(0, 0),
generic_questions.slice(0, 0),
generic_questions.slice(0, 0),
]
const tutorials = [
tutorialVideos.filter((video) => video.type.includes('Tutorial')),
Expand All @@ -68,12 +68,6 @@ const Help: React.FC = () => {
tutorialVideos.filter((video) => video.type === 'Simulation'),
]

const project_questions = generic_questions.slice(0, 2);
const drug_questions = generic_questions.slice(0, 4)
const model_questions = generic_questions.slice(0, 3);
const trial_questions = generic_questions.slice(0, 5);
const simulation_questions = generic_questions.slice(0, 1)

return (
<DynamicTabs tabNames={["Tutorials", "Projects", "Drug", "Model", "Trial Design", "Simulation"]}>
{ questions.map((question, index) => (
Expand Down
2 changes: 1 addition & 1 deletion frontend-v2/src/features/main/mainSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export enum PageName {
DATA = 'Data',
TRIAL_DESIGN = 'Trial Design',
SIMULATIONS = 'Simulations',
HELP = 'Help',
HELP = 'Help & Feedback',
}

interface MainState {
Expand Down

0 comments on commit 429947c

Please sign in to comment.