Update next to the latest version 🚀 (#367)

* fix(package): update next to version 6.0.3

* Fix 'this' in <style jsx> bug

* Better variables
main
greenkeeper[bot] 7 years ago committed by Michael Fix
parent d59d4a99d7
commit 6368833e16

@ -55,6 +55,8 @@ class BackgroundSelect extends React.PureComponent {
background = DEFAULT_BG_COLOR background = DEFAULT_BG_COLOR
} }
const { mode, image } = this.props
return ( return (
<div className="bg-select-container"> <div className="bg-select-container">
<div className="bg-select-display"> <div className="bg-select-display">
@ -133,8 +135,8 @@ class BackgroundSelect extends React.PureComponent {
right: 0px; right: 0px;
bottom: 0px; bottom: 0px;
left: 0px; left: 0px;
${this.props.mode === 'image' ${mode === 'image'
? `background: url(${this.props.image}); ? `background: url(${image});
background-size: cover; background-size: cover;
background-repeat: no-repeat;` background-repeat: no-repeat;`
: `background: ${background};`}; : `background: ${background};`};

@ -38,7 +38,7 @@
"morgan": "^1.8.2", "morgan": "^1.8.2",
"morphmorph": "^0.1.0", "morphmorph": "^0.1.0",
"ms": "^2.0.0", "ms": "^2.0.0",
"next": "^5.1.0", "next": "^6.0.3",
"now-logs": "^0.0.7", "now-logs": "^0.0.7",
"prop-types": "^15.6.1", "prop-types": "^15.6.1",
"puppeteer": "^1.0.0", "puppeteer": "^1.0.0",

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save