Skip to content

Commit

Permalink
Remove edit evm address button
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Jul 4, 2024
1 parent eb1b1a6 commit 7417f5b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/modules/points/PointsWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import LinkEvmAddressModal from '@/components/modals/LinkEvmAddressModal'
import RewardPerDayModal from '@/components/modals/RewardPerDayModal'
import SubsocialProfileModal from '@/components/subsocial-profile/SubsocialProfileModal'
import useIsMounted from '@/hooks/useIsMounted'
import useLinkedEvmAddress from '@/hooks/useLinkedEvmAddress'
import { useSendEvent } from '@/stores/analytics'
import { useMyMainAddress } from '@/stores/my-account'
import { truncateAddress } from '@/utils/account'
Expand Down Expand Up @@ -212,7 +211,10 @@ const UserStatsSection = ({
const [openProfileModal, setOpenProfileModal] = useState(false)
const [openRewardModal, setOpenRewardModal] = useState(false)
const [openEvmLinkModal, setOpenEvmLinkModal] = useState(false)
const { evmAddress } = useLinkedEvmAddress()

// const { evmAddress } = useLinkedEvmAddress()
// TODO: remove edit button temporarily until the functionality is done
const evmAddress = ''

return (
<>
Expand Down
6 changes: 4 additions & 2 deletions src/modules/telegram/AirdropPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import LinkEvmAddressModal from '@/components/modals/LinkEvmAddressModal'
import Modal, { ModalFunctionalityProps } from '@/components/modals/Modal'
import SubsocialProfileModal from '@/components/subsocial-profile/SubsocialProfileModal'
import useIsModerationAdmin from '@/hooks/useIsModerationAdmin'
import useLinkedEvmAddress from '@/hooks/useLinkedEvmAddress'
import useTgNoScroll from '@/hooks/useTgNoScroll'
import PointsWidget from '@/modules/points/PointsWidget'
import { useSendEvent } from '@/stores/analytics'
Expand All @@ -31,7 +30,10 @@ export default function AirdropPage() {
const [openAddEvmModal, setOpenAddEvmModal] = useState(false)
const myAddress = useMyMainAddress()
const sendEvent = useSendEvent()
const { evmAddress } = useLinkedEvmAddress()

// const { evmAddress } = useLinkedEvmAddress()
// TODO: remove edit button temporarily until the functionality is done
const evmAddress = ''

return (
<LayoutWithBottomNavigation withFixedHeight className='relative'>
Expand Down

0 comments on commit 7417f5b

Please sign in to comment.