Skip to content

Commit

Permalink
Remove Unused Imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Roberts committed Feb 24, 2024
1 parent 7c43d58 commit 67ca37f
Showing 1 changed file with 2 additions and 40 deletions.
42 changes: 2 additions & 40 deletions client/src/pages/Communities/Member/index.tsx
Original file line number Diff line number Diff line change
@@ -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'

Expand All @@ -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()
Expand Down

0 comments on commit 67ca37f

Please sign in to comment.