Skip to content

Commit

Permalink
feat: remove amm notice, add cdao redeem callout
Browse files Browse the repository at this point in the history
  • Loading branch information
aeolianeth committed Aug 4, 2024
1 parent 012f01a commit 3b8cb7b
Show file tree
Hide file tree
Showing 13 changed files with 89 additions and 557 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
"@supabase/auth-helpers-nextjs": "^0.5.4",
"@supabase/auth-helpers-react": "^0.3.1",
"@supabase/supabase-js": "^2.10.0",
"@sushiswap/sdk": "5.0.0-canary.116",
"@tanstack/react-query": "^5.49.2",
"@uiw/react-markdown-preview": "^4.1.13",
"@uiw/react-md-editor": "^3.23.3",
Expand Down
94 changes: 0 additions & 94 deletions src/components/AMMPrices/TokenAMMPriceRow.tsx

This file was deleted.

64 changes: 0 additions & 64 deletions src/components/AMMPrices/hooks/useERC20SushiswapPrice.ts

This file was deleted.

59 changes: 0 additions & 59 deletions src/components/AMMPrices/index.tsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { RightOutlined } from '@ant-design/icons'
import { t, Trans } from '@lingui/macro'
import { ADDRESS_ZERO } from '@uniswap/v3-sdk'
import { Col, Form, Row } from 'antd'
import { Callout } from 'components/Callout/Callout'
import { useLockPageRulesWrapper } from 'components/Create/hooks/useLockPageRulesWrapper'
Expand All @@ -13,6 +12,7 @@ import { JuiceInput } from 'components/inputs/JuiceTextInput'
import PrefixedInput from 'components/inputs/PrefixedInput'
import { RichEditor } from 'components/RichEditor'
import { CREATE_FLOW } from 'constants/fathomEvents'
import { constants } from 'ethers'
import { useWallet } from 'hooks/Wallet'
import { trackFathomGoal } from 'lib/fathom'
import Link from 'next/link'
Expand Down Expand Up @@ -166,7 +166,7 @@ export const ProjectDetailsPage: React.FC<
}),
])}
>
<EthAddressInput placeholder={ADDRESS_ZERO} />
<EthAddressInput placeholder={constants.AddressZero} />
</Form.Item>
{projectOwnerDifferentThanWalletAddress && (
<Callout.Warning collapsible={false}>
Expand Down
40 changes: 0 additions & 40 deletions src/components/Project/RedeemAMMPrices.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions src/lib/amm.ts

This file was deleted.

Loading

0 comments on commit 3b8cb7b

Please sign in to comment.