Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove WC deposit screens #697

Merged
merged 1 commit into from
Sep 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading