chore: quick fix
All checks were successful
Release / build_and_release (push) Successful in 1m6s

This commit is contained in:
SwiftHawk 2024-05-24 14:36:36 +05:00
parent 63edff2aed
commit b36e98c09d

View File

@ -1,31 +1,22 @@
import ContentCopyIcon from '@mui/icons-material/ContentCopy'
import {
Box,
IconButton,
SxProps,
Typography,
useTheme,
Theme
} from '@mui/material'
import { nip19, VerifiedEvent } from 'nostr-tools'
import EditIcon from '@mui/icons-material/Edit'
import { Box, IconButton, SxProps, Theme, Typography } from '@mui/material'
import { truncate } from 'lodash'
import { VerifiedEvent, nip19 } from 'nostr-tools'
import { useEffect, useMemo, useState } from 'react'
import { useSelector } from 'react-redux'
import { Link, useNavigate, useParams } from 'react-router-dom'
import { toast } from 'react-toastify'
import { MetadataController } from '../../controllers'
import { NostrJoiningBlock, ProfileMetadata } from '../../types'
import styles from './style.module.scss'
import { useSelector } from 'react-redux'
import { State } from '../../store/rootReducer'
import { getRoboHashPicture, hexToNpub, shorten } from '../../utils'
import { truncate } from 'lodash'
import { getProfileSettingsRoute } from '../../routes'
import EditIcon from '@mui/icons-material/Edit'
import LinkIcon from '@mui/icons-material/Link'
import { LoadingSpinner } from '../../components/LoadingSpinner'
import { MetadataController } from '../../controllers'
import { getProfileSettingsRoute } from '../../routes'
import { State } from '../../store/rootReducer'
import { NostrJoiningBlock, ProfileMetadata } from '../../types'
import { getRoboHashPicture, hexToNpub, shorten } from '../../utils'
import styles from './style.module.scss'
export const ProfilePage = () => {
const navigate = useNavigate()
const theme = useTheme()
const { npub } = useParams()