Rename poll react hooks
This commit is contained in:
parent
e35f4e69df
commit
a6d03613fd
|
@ -33,7 +33,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@dappconnect/vote-poll-sdk-core": "^0.1.0",
|
||||
"@status-waku-voting/polling-hooks": "^0.1.0",
|
||||
"@dappconnect/poll-sdk-react-hooks": "^0.1.0",
|
||||
"@status-waku-voting/react-components": "^0.1.0",
|
||||
"ethers": "^5.4.4",
|
||||
"react": "^17.0.2",
|
||||
|
|
|
@ -4,7 +4,7 @@ import React, { useEffect, useState } from 'react'
|
|||
import { Poll } from './Poll'
|
||||
import styled from 'styled-components'
|
||||
import { Theme } from '@status-waku-voting/react-components'
|
||||
import { usePollList } from '@status-waku-voting/polling-hooks'
|
||||
import { usePollList } from '@dappconnect/poll-sdk-react-hooks'
|
||||
type PollListProps = {
|
||||
theme: Theme
|
||||
wakuPolling: WakuPolling | undefined
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
"dependencies": {
|
||||
"@dappconnect/vote-poll-sdk-core": "^0.1.0",
|
||||
"@dappconnect/poll-sdk-react-components": "^0.1.0",
|
||||
"@status-waku-voting/polling-hooks": "^0.1.0",
|
||||
"@dappconnect/poll-sdk-react-hooks": "^0.1.0",
|
||||
"@status-waku-voting/react-components": "^0.1.0",
|
||||
"@usedapp/core": "^0.4.7",
|
||||
"ethers": "^5.4.4",
|
||||
|
|
|
@ -4,7 +4,7 @@ import { useConfig, useEthers } from '@usedapp/core'
|
|||
import styled from 'styled-components'
|
||||
import { PollList, PollCreation } from '@dappconnect/poll-sdk-react-components'
|
||||
import { JsonRpcSigner } from '@ethersproject/providers'
|
||||
import { useWakuPolling } from '@status-waku-voting/polling-hooks'
|
||||
import { useWakuPolling } from '@dappconnect/poll-sdk-react-hooks'
|
||||
import { Modal, Networks, CreateButton } from '@status-waku-voting/react-components'
|
||||
import { Theme } from '@status-waku-voting/react-components/dist/esm/src/style/themes'
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "@status-waku-voting/polling-hooks",
|
||||
"name": "@dappconnect/poll-sdk-react-hooks",
|
||||
"version": "0.1.0",
|
||||
"main": "dist/cjs/src/index.js",
|
||||
"module": "dist/esm/src/index.js",
|
||||
|
|
Loading…
Reference in New Issue