Skip to content

Commit

Permalink
v1.0.0-beta.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Luzzi committed Jul 29, 2021
1 parent d215b4d commit 926bcd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dxswap-dapp",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"description": "DXswap Decentralized Application",
"devDependencies": {
"@apollo/client": "^3.3.13",
Expand Down
1 change: 1 addition & 0 deletions src/state/application/reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const initialState: ApplicationState = {
export default createReducer(initialState, builder =>
builder
.addCase(updateBlockNumber, (state, action) => {
console.log('new block')
const { chainId, blockNumber } = action.payload
if (typeof state.blockNumber[chainId] !== 'number') {
state.blockNumber[chainId] = blockNumber
Expand Down

0 comments on commit 926bcd0

Please sign in to comment.