From 67ca37f63d82cdd899dc56a5fe8ac7e6a768cf0c Mon Sep 17 00:00:00 2001 From: Tim Roberts Date: Sat, 24 Feb 2024 17:57:29 -0500 Subject: [PATCH] Remove Unused Imports --- client/src/pages/Communities/Member/index.tsx | 42 +------------------ 1 file changed, 2 insertions(+), 40 deletions(-) diff --git a/client/src/pages/Communities/Member/index.tsx b/client/src/pages/Communities/Member/index.tsx index 159edff..50dd365 100644 --- a/client/src/pages/Communities/Member/index.tsx +++ b/client/src/pages/Communities/Member/index.tsx @@ -1,6 +1,4 @@ -import React, { useCallback, useEffect, useState } from 'react' -import { useSelector } from 'react-redux' -import { RootState } from '../../../state/store' +import React, { useCallback, useEffect } from 'react' import { useParams } from 'wouter' @@ -19,45 +17,9 @@ import { useUser } from '../../../hooks/useuser' import MemberAvatar from './components/MemberAvatar' import EditableProfifleItem from './components/EditableProfileItem' -import { - PROFILE_ITEM_TYPE, - CommunityProfileSchemaItem, -} from '../../../state/domains/communities' +import { PROFILE_ITEM_TYPE } from '../../../state/domains/communities' import { useSession } from '@clerk/clerk-react' -const communityProfileSchema: CommunityProfileSchemaItem[] = [ - { - type: PROFILE_ITEM_TYPE.DATE, - icon: 'CalendarToday', - label: 'Birthday', - name: 'birthday', - }, - { - type: PROFILE_ITEM_TYPE.DATE, - icon: 'CalendarToday', - label: 'Anniversay', - name: 'anniversary', - }, - { - type: PROFILE_ITEM_TYPE.MULTI_LINE_TEXT, - icon: 'Home', - label: 'Address', - name: 'address', - }, - { - type: PROFILE_ITEM_TYPE.TEXT, - icon: 'LocalPhone', - label: 'Phone Number', - name: 'phoneNumber', - }, - { - type: PROFILE_ITEM_TYPE.TEXT, - icon: 'AlternateEmail', - label: 'Email', - name: 'email', - }, -] - const CommunityMember = () => { const { user } = useUser() const params = useParams()