Skip to content

Commit

Permalink
refactor(vote): remove unused props
Browse files Browse the repository at this point in the history
  • Loading branch information
Jameshsiao committed Dec 15, 2023
1 parent 655e906 commit 2e2a69e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/views/vote/VoteApp.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import React from 'react'
import store from 'wallet/store'
import useNetwork from '../../hooks/useNetwork'
const Vote = React.lazy(() => import('DAC/dac'))

const VoteApp = () => {
const { activeNetwork } = useNetwork()
return (
<React.Suspense fallback={<div>Loading...</div>}>
<Vote network={activeNetwork} wallet={store.state.activeWallet} />
<Vote network={activeNetwork} />
</React.Suspense>
)
}
Expand Down

0 comments on commit 2e2a69e

Please sign in to comment.