diff --git a/packages/berlin/src/data/publicGroups.ts b/packages/berlin/src/data/publicGroups.ts deleted file mode 100644 index d4b67503..00000000 --- a/packages/berlin/src/data/publicGroups.ts +++ /dev/null @@ -1,8 +0,0 @@ -const publicGroups = { - copy: { - subtitle: 'Join a group', - body: 'Select a group from the list in order to join it.', - }, -}; - -export default publicGroups; diff --git a/packages/berlin/src/pages/PublicGroupRegistration.tsx b/packages/berlin/src/pages/PublicGroupRegistration.tsx index 314e19fb..510116c7 100644 --- a/packages/berlin/src/pages/PublicGroupRegistration.tsx +++ b/packages/berlin/src/pages/PublicGroupRegistration.tsx @@ -10,14 +10,9 @@ import useUser from '../hooks/useUser'; // API import { fetchGroups, postUsersToGroups, fetchUsersToGroups, putUsersToGroups } from 'api'; -// Data -import publicGroups from '../data/publicGroups'; - // Components -import { Body } from '../components/typography/Body.styled'; import { FlexColumn } from '../components/containers/FlexColum.styled'; import { Form } from '../components/containers/Form.styled'; -import { Subtitle } from '../components/typography/Subtitle.styled'; import Button from '../components/button'; import Select from '../components/select'; import { useMemo } from 'react'; @@ -127,8 +122,6 @@ function PublicGroupRegistration() { return ( - {publicGroups.copy.subtitle} - {publicGroups.copy.body}
(