Remove dupe terminology
This commit is contained in:
parent
d9d9093d4d
commit
415be0a8cc
|
@ -15,7 +15,7 @@ type WakuPollingProps = {
|
|||
tokenAddress: string
|
||||
}
|
||||
|
||||
export function WakuPolling({ appName, signer, theme, tokenAddress }: WakuPollingProps) {
|
||||
export function Poll({ appName, signer, theme, tokenAddress }: WakuPollingProps) {
|
||||
const { activateBrowserWallet, account, library, chainId } = useEthers()
|
||||
const config = useConfig()
|
||||
const [showPollCreation, setShowPollCreation] = useState(false)
|
|
@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react'
|
|||
import styled from 'styled-components'
|
||||
import { DAppProvider, ChainId, useEthers } from '@usedapp/core'
|
||||
import { DEFAULT_CONFIG } from '@usedapp/core/dist/cjs/src/model/config/default'
|
||||
import { WakuPolling } from './components/WakuPolling'
|
||||
import { Poll } from './components/Poll'
|
||||
import { TopBar, GlobalStyle } from '@waku/vote-poll-sdk-react-components'
|
||||
import pollingIcon from './assets/images/pollingIcon.png'
|
||||
import { JsonRpcSigner } from '@ethersproject/providers'
|
||||
|
@ -50,7 +50,7 @@ export function PollPage({ tokenAddress }: { tokenAddress: string }) {
|
|||
account={account}
|
||||
deactivate={deactivate}
|
||||
/>
|
||||
<WakuPolling theme={orangeTheme} appName={'testApp_'} signer={signer} tokenAddress={tokenAddress} />
|
||||
<Poll theme={orangeTheme} appName={'testApp_'} signer={signer} tokenAddress={tokenAddress} />
|
||||
</Wrapper>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue