From 5a10ea55c9a52511921fcbe030e3c0dfaec80f3d Mon Sep 17 00:00:00 2001 From: Sebastian Andil Date: Mon, 9 Apr 2018 08:49:46 +0200 Subject: [PATCH] Fix typo --- src/DragScroll.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DragScroll.jsx b/src/DragScroll.jsx index dd69be4..e8c9542 100644 --- a/src/DragScroll.jsx +++ b/src/DragScroll.jsx @@ -14,11 +14,11 @@ export default class DragScroll extends React.Component { } render() { - let sytle = null; + let style = null; if (this.props.height && this.props.width) { - sytle = {style: {height: this.props.height, width: this.props.width, overflow: 'auto'}}; + style = {style: {height: this.props.height, width: this.props.width, overflow: 'auto'}}; } - return