Skip to content

Commit

Permalink
Remove WC deposit screens
Browse files Browse the repository at this point in the history
  • Loading branch information
youngkidwarrior committed Sep 3, 2024
1 parent 39bd3ef commit e041240
Show file tree
Hide file tree
Showing 12 changed files with 1,419 additions and 3,833 deletions.
6 changes: 4 additions & 2 deletions apps/next/pages/deposit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { HomeLayout } from 'app/features/home/layout.web'
import Head from 'next/head'
import { userProtectedGetSSP } from 'utils/userProtected'
import type { NextPageWithLayout } from '../_app'
import { TopNav } from 'app/components/TopNav'
import { ButtonOption, TopNav } from 'app/components/TopNav'

export const Page: NextPageWithLayout = () => {
return (
Expand All @@ -19,7 +19,9 @@ export const Page: NextPageWithLayout = () => {
export const getServerSideProps = userProtectedGetSSP()

Page.getLayout = (children) => (
<HomeLayout TopNav={<TopNav header="Deposit" />}>{children}</HomeLayout>
<HomeLayout TopNav={<TopNav header="Deposit" button={ButtonOption.PROFILE} />}>
{children}
</HomeLayout>
)

export default Page
25 changes: 0 additions & 25 deletions apps/next/pages/deposit/web3.tsx

This file was deleted.

11 changes: 10 additions & 1 deletion packages/app/components/DepositAddress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,16 @@ function CopyAddressDialog({ isOpen, onClose, onConfirm }) {
<Dialog.Description>
Please confirm you agree to the following before copying your address:
</Dialog.Description>
<Paragraph>1. The tokens I am depositing are on Base Network.</Paragraph>
<Paragraph>
1. The external address is on the Base Network and{' '}
<a
target="_blank"
href="https://support.send.app/en/articles/9809554-smart-contract-deposit-issue"
rel="noreferrer"
>
can receive transfers from Smart Contracts
</a>
</Paragraph>

<Paragraph>
2. I have double checked that the tokens are USDC, SEND, or ETH on Base Network.
Expand Down
88 changes: 0 additions & 88 deletions packages/app/features/deposit/DepositPopover.tsx

This file was deleted.

Loading

0 comments on commit e041240

Please sign in to comment.