Rename vote react hooks

This commit is contained in:
Franck 2021-12-07 12:55:33 +11:00
parent 59b56a0650
commit 9fc76d0f06
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
7 changed files with 7 additions and 7 deletions

View File

@ -33,7 +33,7 @@
},
"dependencies": {
"@dappconnect/vote-poll-sdk-core": "^0.1.0",
"@status-waku-voting/voting-hooks": "^0.1.0",
"@dappconnect/vote-sdk-react-hooks": "^0.1.0",
"@dappconnect/vote-poll-sdk-react-components": "^0.1.0",
"ethers": "^5.4.4",
"humanize-duration": "^3.27.0",

View File

@ -4,7 +4,7 @@ import { Theme } from '@dappconnect/vote-poll-sdk-react-components'
import { ProposalInfo } from './ProposalInfo'
import { ProposalVote } from './ProposalVoteCard/ProposalVote'
import { WakuVoting } from '@dappconnect/vote-poll-sdk-core'
import { useVotingRoom } from '@status-waku-voting/voting-hooks'
import { useVotingRoom } from '@dappconnect/vote-sdk-react-hooks'
import { VoteModal, VoteModalProps } from './VoteModal/VoteModal'
import { useRefMobileVersion } from '@dappconnect/vote-poll-sdk-react-components'
import { VotingRoom } from '@dappconnect/vote-poll-sdk-core/dist/esm/src/types/PollType'

View File

@ -7,7 +7,7 @@ import { VoteChart } from '../ProposalVoteCard/VoteChart'
import { ProposalInfo } from '../ProposalInfo'
import { VotePropose } from '../VotePropose'
import { VotesBtns } from '../ProposalVoteCard/ProposalVote'
import { useVotingRoom } from '@status-waku-voting/voting-hooks'
import { useVotingRoom } from '@dappconnect/vote-sdk-react-hooks'
import { WakuVoting } from '@dappconnect/vote-poll-sdk-core'
import { BigNumber } from 'ethers'
interface VotingRoomMobileProps {

View File

@ -34,7 +34,7 @@
"dependencies": {
"@dappconnect/vote-poll-sdk-core": "^0.1.0",
"@dappconnect/vote-sdk-react-components": "^0.1.0",
"@status-waku-voting/voting-hooks": "^0.1.0",
"@dappconnect/vote-sdk-react-hooks": "^0.1.0",
"@dappconnect/vote-poll-sdk-react-components": "^0.1.0",
"@usedapp/core": "^0.4.7",
"ethers": "^5.4.4",

View File

@ -11,7 +11,7 @@ import { WakuVoting } from '@dappconnect/vote-poll-sdk-core'
import { useTokenBalance } from '@dappconnect/vote-poll-sdk-react-components'
import { useEthers } from '@usedapp/core'
import { Modal, Networks, useMobileVersion, Theme } from '@dappconnect/vote-poll-sdk-react-components'
import { useVotingRoomsId } from '@status-waku-voting/voting-hooks'
import { useVotingRoomsId } from '@dappconnect/vote-sdk-react-hooks'
import { VotingRoom } from '@dappconnect/vote-poll-sdk-core/dist/esm/src/types/PollType'
import { useHistory } from 'react-router'

View File

@ -1,5 +1,5 @@
import React, { useRef } from 'react'
import { useWakuVoting } from '@status-waku-voting/voting-hooks'
import { useWakuVoting } from '@dappconnect/vote-sdk-react-hooks'
import { VotingMobile } from './components/VotingMobile'
import { Voting } from './components/Voting'
import { TopBar, GlobalStyle, useMobileVersion } from '@dappconnect/vote-poll-sdk-react-components'

View File

@ -1,5 +1,5 @@
{
"name": "@status-waku-voting/voting-hooks",
"name": "@dappconnect/vote-sdk-react-hooks",
"version": "0.1.0",
"main": "dist/cjs/src/index.js",
"module": "dist/esm/src/index.js",