Skip to content

Commit

Permalink
chore: comment out routing tooltip (#3191)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzmp authored Jan 27, 2022
1 parent a598a15 commit 06536bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/components/Swap/Toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,30 @@ import { useSwapInfo } from 'lib/hooks/swap'
import useActiveWeb3React from 'lib/hooks/useActiveWeb3React'
import { AlertTriangle, Info, largeIconCss, Spinner } from 'lib/icons'
import { Field, independentFieldAtom } from 'lib/state/swap'
import styled, { ThemedText, ThemeProvider } from 'lib/theme'
import styled, { ThemedText } from 'lib/theme'
import { useMemo, useState } from 'react'
import { InterfaceTrade } from 'state/routing/types'

import { TextButton } from '../Button'
import Row from '../Row'
import Rule from '../Rule'
import Tooltip from '../Tooltip'

const ToolbarRow = styled(Row)`
padding: 0.5em 0;
${largeIconCss}
`

function RoutingTooltip() {
return <Info color="secondary" />
/* TODO(zzmp): Implement post-beta launch.
return (
<Tooltip icon={Info} placement="bottom">
<ThemeProvider>
<ThemedText.Subhead2>TODO: Routing Tooltip</ThemedText.Subhead2>
</ThemeProvider>
</Tooltip>
)
*/
}

interface LoadedStateProps {
Expand Down

0 comments on commit 06536bc

Please sign in to comment.