Skip to content

Commit 465a583

Browse files
committed
fix lint
1 parent 1714e70 commit 465a583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ class SortablePane extends Component {
380380
// take a copy rather than direct-manipulating the child's prop, which violates React
381381
// and causes problems if the child's prop is a static default {}, which then will be
382382
// shared across all children!
383-
var customStyle = Object.assign({}, child.props.style);
383+
const customStyle = Object.assign({}, child.props.style);
384384
Object.assign(customStyle, {
385385
boxShadow: `rgba(0, 0, 0, 0.2) 0px ${shadow}px ${2 * shadow}px 0px`,
386386
transform: `translate3d(${x}px, ${y}px, 0px) scale(${scale})`,

0 commit comments

Comments
 (0)