From 429947c80b2e0449cf050aa0fe082bd26a581de0 Mon Sep 17 00:00:00 2001 From: martinjrobins Date: Fri, 10 Nov 2023 11:58:00 +0000 Subject: [PATCH] remove questions, help label --- frontend-v2/src/features/help/Help.tsx | 16 +++++----------- frontend-v2/src/features/main/mainSlice.ts | 2 +- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/frontend-v2/src/features/help/Help.tsx b/frontend-v2/src/features/help/Help.tsx index 89240f44..33da4112 100644 --- a/frontend-v2/src/features/help/Help.tsx +++ b/frontend-v2/src/features/help/Help.tsx @@ -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')), @@ -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 ( { questions.map((question, index) => ( diff --git a/frontend-v2/src/features/main/mainSlice.ts b/frontend-v2/src/features/main/mainSlice.ts index 7db75cf3..dfbfa3c1 100644 --- a/frontend-v2/src/features/main/mainSlice.ts +++ b/frontend-v2/src/features/main/mainSlice.ts @@ -7,7 +7,7 @@ export enum PageName { DATA = 'Data', TRIAL_DESIGN = 'Trial Design', SIMULATIONS = 'Simulations', - HELP = 'Help', + HELP = 'Help & Feedback', } interface MainState {