Rename poll react hooks

This commit is contained in:
Franck 2021-12-07 12:30:32 +11:00
parent e35f4e69df
commit a6d03613fd
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
5 changed files with 5 additions and 5 deletions

View File

@ -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",

View File

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

View File

@ -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",

View File

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

View File

@ -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",