Browse Source

Removed unused imports

develop
Ezerous 7 years ago
parent
commit
c4931a05a0
  1. 20
      contracts/Migrations.sol
  2. 4
      package.json
  3. 2
      src/store.js

20
contracts/Migrations.sol

@ -8,16 +8,16 @@ contract Migrations {
if (msg.sender == owner) _;
}
function Migrations() public {
owner = msg.sender;
}
constructor() public {
owner = msg.sender;
}
function setCompleted(uint completed) public restricted {
last_completed_migration = completed;
}
function setCompleted(uint completed) public restricted {
last_completed_migration = completed;
}
function upgrade(address new_address) public restricted {
Migrations upgraded = Migrations(new_address);
upgraded.setCompleted(last_completed_migration);
}
function upgrade(address new_address) public restricted {
Migrations upgraded = Migrations(new_address);
upgraded.setCompleted(last_completed_migration);
}
}

4
package.json

@ -6,9 +6,6 @@
"type": "git",
"url": "https://gitlab.com/Ezerous/Apella.git"
},
"devDependencies": {
"truffle-contract": "^3.0.4"
},
"dependencies": {
"drizzle": "^1.1.5",
"drizzle-react": "^1.1.1",
@ -23,7 +20,6 @@
"redux": "^3.7.2",
"redux-auth-wrapper": "1.1.0",
"redux-saga": "0.16.0",
"redux-thunk": "^2.2.0",
"web3":"^1.0.0-beta.34"
},
"scripts": {

2
src/store.js

@ -1,6 +1,5 @@
import { browserHistory } from 'react-router'
import { createStore, applyMiddleware, compose } from 'redux'
import thunkMiddleware from 'redux-thunk'
import { routerMiddleware } from 'react-router-redux'
import reducer from './reducer'
import rootSaga from './rootSaga'
@ -23,7 +22,6 @@ const store = createStore(
initialState,
composeEnhancers(
applyMiddleware(
thunkMiddleware,
routingMiddleware,
sagaMiddleware
)

Loading…
Cancel
Save