diff --git a/src/components/AddProposalPanel.js b/src/components/AddProposalPanel.js index da768d5..5fdc8cf 100644 --- a/src/components/AddProposalPanel.js +++ b/src/components/AddProposalPanel.js @@ -23,6 +23,9 @@ import { ZERO_ADDR } from '../constants' const NULL_PROPOSAL_TYPE = -1 const FUNDING_PROPOSAL = 1 +const BASE_IPFS_URI = 'https://ipfs.eth.aragon.network/ipfs/' +const TC_IPFS_HASH = 'QmTSDxWVFnNUis8ZJ7aBfH2z71Jc4N62YLYM9PzJz8DUjt' + const DEFAULT_FORM_DATA = { title: '', link: '', @@ -263,10 +266,7 @@ const AddProposalPanel = React.memo(({ onSubmit }) => { > I accept the  - + Terms and Conditions diff --git a/src/components/Header/HeaderPopover.js b/src/components/Header/HeaderPopover.js index db7eba5..636977b 100644 --- a/src/components/Header/HeaderPopover.js +++ b/src/components/Header/HeaderPopover.js @@ -23,7 +23,6 @@ function HeaderPopover({ onClose={onClose} opener={opener} visible={visible} - placement="center-start" css={` width: ${width}px; `} diff --git a/src/components/ProposalSupported.js b/src/components/ProposalSupported.js index d877a89..2686744 100644 --- a/src/components/ProposalSupported.js +++ b/src/components/ProposalSupported.js @@ -3,7 +3,7 @@ import TokenAmount from 'token-amount' import { GU, IconCheck, RADIUS, textStyle, useTheme } from '@aragon/ui' import { useAppState } from '../providers/AppState' -const LIGHT_INFO_SURFACE_COLOR = '#F8DFE' +const LIGHT_INFO_SURFACE_COLOR = '#F8FDFE' function VoteCast({ amountOfTokens }) { const theme = useTheme() diff --git a/src/components/ProposalsView.js b/src/components/ProposalsView.js index 677129e..aa7edff 100644 --- a/src/components/ProposalsView.js +++ b/src/components/ProposalsView.js @@ -26,7 +26,7 @@ function ProposalsView({ proposals, requestToken }) { const history = useHistory() const { below } = useViewport() - const compactMode = below('large') + const compactMode = below(1400) const handleSelectProposal = useCallback( id => { @@ -69,9 +69,13 @@ function ProposalsView({ proposals, requestToken }) {
@@ -88,7 +93,6 @@ function ProposalsView({ proposals, requestToken }) { id={proposal.id} /> -
{proposal.beneficiary === ZERO_ADDR ? ( ) : ( @@ -172,7 +176,7 @@ function ProposalProperty({ title, children }) { const theme = useTheme() const { below } = useViewport() - const compactMode = below('large') + const compactMode = below(1400) return (
{ const theme = useTheme() const { below } = useViewport() - const compactMode = below('large') + const compactMode = below(1400) return (
{ const theme = useTheme() const { below } = useViewport() - const compactMode = below('large') + const compactMode = below(1400) return (
{ const theme = useTheme() const { below } = useViewport() - const compactMode = below('large') + const compactMode = below(1400) return (
{ if (!ethereum) { - const { defaultEthNode: networkNode, type } = getNetwork() + const { defaultEthNode: networkNode } = getNetwork() return networkNode.includes('wss') - ? Ethers.getDefaultProvider(type) + ? new EthersProviders.WebSocketProvider(networkNode) : new EthersProviders.JsonRpcProvider(networkNode) }