Skip to content

Commit

Permalink
fix: unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Julink-eth committed May 16, 2024
1 parent dbc7f03 commit 6da8379
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import { CustomProfileRecordInput } from './CustomProfileRecordInput'
import { ProfileRecordInput } from './ProfileRecordInput'
import { ProfileRecordTextarea } from './ProfileRecordTextarea'
import { profileEditorFormToProfileRecords } from './profileRecordUtils'
import { WrappedAvatarButton } from './WrappedAvatarButton'

const StyledCard = styled.form(({ theme }) => [
css`
Expand Down Expand Up @@ -141,9 +140,9 @@ const Profile = ({ name, callback, registrationData, resolverExists }: Props) =>
hasErrors,
} = useProfileEditorForm(registrationData.records)

const [isAvatarDropdownOpen, setIsAvatarDropdownOpen] = useState(false)
const [, setIsAvatarDropdownOpen] = useState(false)

const [avatarFile, setAvatarFile] = useState<File | undefined>()
const [avatarFile] = useState<File | undefined>()
const [avatarSrc, setAvatarSrc] = useState<string | undefined>()
useEffect(() => {
const storage = localStorage.getItem(`avatar-src-${name}`)
Expand Down

0 comments on commit 6da8379

Please sign in to comment.