From e52d884fe464f3a867e4ddafc5453395dc86b0b9 Mon Sep 17 00:00:00 2001 From: Camilo Vega <59750365+camilovegag@users.noreply.github.com> Date: Thu, 16 May 2024 10:57:17 -0500 Subject: [PATCH] 478 implement text changes (#481) * Changes to join public group * Update texts * WIP * Latest text changes --- .../berlin/src/components/dialog/Dialog.tsx | 2 +- .../research-group-form/ResearchGroupForm.tsx | 2 -- .../src/components/secret-code/SecretCode.tsx | 4 +-- packages/berlin/src/data/groups.ts | 26 +++++-------------- packages/berlin/src/data/publicGroups.ts | 8 ------ .../src/pages/PublicGroupRegistration.tsx | 10 +------ .../src/pages/SecretGroupRegistration.tsx | 2 -- 7 files changed, 10 insertions(+), 44 deletions(-) delete mode 100644 packages/berlin/src/data/publicGroups.ts diff --git a/packages/berlin/src/components/dialog/Dialog.tsx b/packages/berlin/src/components/dialog/Dialog.tsx index 21f97c8e..824f5855 100644 --- a/packages/berlin/src/components/dialog/Dialog.tsx +++ b/packages/berlin/src/components/dialog/Dialog.tsx @@ -12,7 +12,7 @@ import { DialogContent, DialogOverlay } from './Dialog.styled'; type DialogProps = { trigger?: React.ReactNode; - title: string; + title?: string; description?: string; content?: React.ReactNode; dialogButtons?: boolean; diff --git a/packages/berlin/src/components/research-group-form/ResearchGroupForm.tsx b/packages/berlin/src/components/research-group-form/ResearchGroupForm.tsx index 86687c86..8591cf20 100644 --- a/packages/berlin/src/components/research-group-form/ResearchGroupForm.tsx +++ b/packages/berlin/src/components/research-group-form/ResearchGroupForm.tsx @@ -12,7 +12,6 @@ import { FlexRow } from '../containers/FlexRow.styled'; type ResearchGroupFormProps = { formData: { input: { - label: string; placeholder: string; requiredMessage: string; }; @@ -48,7 +47,6 @@ function ResearchGroupForm({ formData, handleCreateGroup, setGroupName }: Resear return (