Remove dupe terminology

This commit is contained in:
Franck 2022-01-04 11:49:42 +11:00
parent d9d9093d4d
commit 415be0a8cc
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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>
)
}