Skip to content

Commit

Permalink
transaction queue
Browse files Browse the repository at this point in the history
  • Loading branch information
qftgtr committed Sep 20, 2020
1 parent 2f4cb14 commit 508ca71
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Routes/BottomBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ function BottomBarWithProps (props) {

return (
<BottomBar
txs={props.queue.getIn([props.network, 'txs'])}
projectValid={projectValid}
projectLanguage={props.globalConfig.get('projectLanguage')}
compilerVersion={props.globalConfig.get('compilerVersion')}
Expand All @@ -18,4 +19,4 @@ function BottomBarWithProps (props) {
)
}

export default connect(['projects', 'globalConfig'])(BottomBarWithProps)
export default connect(['projects', 'globalConfig', 'queue', 'network'])(BottomBarWithProps)
1 change: 1 addition & 0 deletions src/lib/redux/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Immutable, { List, Map } from 'immutable'

export { redux as projects } from '@obsidians/project'
export { redux as keypairs } from '@obsidians/keypair'
export { redux as queue } from '@obsidians/queue'

export const version = {
default: Immutable.fromJS({}),
Expand Down
1 change: 1 addition & 0 deletions src/lib/redux/updateStore.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export default function ({ persistor, store, actions }) {
// Data initialization
// store.dispatch(actions.RESET())
store.dispatch(actions.CREATE_LOCAL())
store.dispatch(actions.CREATE_TABS())

Expand Down

0 comments on commit 508ca71

Please sign in to comment.