diff --git a/examples/mainnet-poll/src/components/WakuPolling.tsx b/examples/mainnet-poll/src/components/Poll.tsx similarity index 96% rename from examples/mainnet-poll/src/components/WakuPolling.tsx rename to examples/mainnet-poll/src/components/Poll.tsx index a4831a9..f93195d 100644 --- a/examples/mainnet-poll/src/components/WakuPolling.tsx +++ b/examples/mainnet-poll/src/components/Poll.tsx @@ -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) diff --git a/examples/mainnet-poll/src/index.tsx b/examples/mainnet-poll/src/index.tsx index c2aedde..94a4eab 100644 --- a/examples/mainnet-poll/src/index.tsx +++ b/examples/mainnet-poll/src/index.tsx @@ -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} /> - + ) }