Skip to content

Commit

Permalink
fix: missing dependencies and minor linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
FezVrasta committed Aug 9, 2019
1 parent f5611e8 commit 88c3730
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 4 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
"@emotion/styled": "^10.0.4",
"@quid/stylis-plugin-focus-visible": "^1.0.0",
"@quid/theme": "^1.0.0",
"@quid/react-core": "^3.0.0",
"@quid/react-forms": "^3.0.0",
"builder-init": "^0.5.1",
"customize-cra": "^0.2.7",
"enzyme": "^3.8.0",
Expand All @@ -65,6 +67,7 @@
"lerna-alias": "^3.0.2",
"lint-staged": "^8.1.0",
"prettier": "^1.15.3",
"prop-types": "^15.7.2",
"react": "^16.7.0",
"react-app-rewired": "^2.1.1",
"react-dom": "^16.7.0",
Expand Down
1 change: 1 addition & 0 deletions packages/react-dropdown/src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export function filterByCategoryId(
...item,
};
}
return false;
});
}

Expand Down
4 changes: 2 additions & 2 deletions packages/react-layouts/src/Modal/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ describe('Modal', () => {
// info: https://github.com/facebook/react/issues/11098
// more info: https://github.com/facebook/react/issues/11083
// $FlowFixMe
Error.prototype.suppressReactErrorLogging = true;
Error.prototype.suppressReactErrorLogging = true; // eslint-disable-line no-extend-native
const Logo = function Welcome() {
return <div>Logo</div>;
};
Expand All @@ -232,7 +232,7 @@ describe('Modal', () => {
).toThrowErrorMatchingSnapshot();
} finally {
// $FlowFixMe
Error.prototype.suppressReactErrorLogging = false;
Error.prototype.suppressReactErrorLogging = false; // eslint-disable-line no-extend-native
}
});
});
3 changes: 3 additions & 0 deletions packages/react-popover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@
"react": "^16.8.0"
},
"dependencies": {
"@emotion/css": "^10.0.14",
"@emotion/is-prop-valid": "^0.8.2",
"@emotion/styled": "^10.0.10",
"@quid/merge-refs": "^3.0.0",
"@quid/react-mouse-outside": "^3.0.0",
"@quid/react-use-controlled-state": "^3.0.0",
"@quid/theme": "^3.0.0",
"color": "^3.1.0",
"popper.js": "^1.15.0",
"react-popper": "^1.3.3",
"use-debounce": "^2.1.0"
}
Expand Down
4 changes: 3 additions & 1 deletion packages/react-tooltip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
},
"dependencies": {
"@emotion/styled": "^10.0.11",
"@quid/react-popover": "^3.0.0"
"@quid/react-popover": "^3.0.0",
"popper.js": "^1.15.0",
"react-popper": "^1.3.3"
}
}
2 changes: 1 addition & 1 deletion packages/react-use-controlled-state/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function useControlledState(defaultValue, controlledValue, controlValue) {

setInternalState(value);
},
[controlledValue, controlValue, defaultValue]
[controlledValue, controlValue]
);

const state = isControlled(controlledValue, defaultValue)
Expand Down

0 comments on commit 88c3730

Please sign in to comment.