Skip to content

Commit 9d29890

Browse files
committed
Removin immutable as a dependency
1 parent 8a4e71c commit 9d29890

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"coverage": "istanbul cover --report lcov _mocha --require ./node_modules/react-native-mock/mock.js --require src/test/testHelper.js $(find ./src/test -name '*Test.js')"
1414
},
1515
"dependencies": {
16-
"immutable": "^3.8.1",
1716
"invariant": "^2.2.2",
1817
"lodash": "^4.12.0",
1918
"moment": "^2.15.1",

src/js/framework/view/AbstractComponent.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import React, {Component} from 'react';
22
import {ActivityIndicator, StyleSheet, Alert} from 'react-native';
3-
import {Map} from 'immutable';
43

54
class AbstractComponent extends Component {
65
constructor(props, context) {
76
super(props, context);
87
this.renderComponent = this.renderComponent.bind(this);
9-
this.spinnerDefaults = Map({color: 'white', size: 'small'});
8+
this.spinnerDefaults = Map([["color", 'white'], ["size", 'small']]);
109
this.showError = this.showError.bind(this);
1110
}
1211

src/js/views/assessment/Toolbar.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import PrimaryColors from "../styles/PrimaryColors";
55
import Typography from "../styles/Typography";
66
import Actions from '../../action';
77
import {Icon} from 'native-base';
8-
import {comp} from 'immutable';
98
import _ from 'lodash';
109

1110

0 commit comments

Comments
 (0)