Update ViewerNav.tsx

This commit is contained in:
khitryk 2018-11-20 06:52:34 +00:00 committed by GitHub
parent 0cc9814276
commit 19f0e1dfd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ export default class ViewerNav extends React.Component<ViewerNavProps, any> {
}
render() {
var marginLeft = `calc(50% - ${this.props.activeIndex + 1} * 31px)`;
let marginLeft = `calc(50% - ${this.props.activeIndex + 1} * 31px)`;
let listStyle = {
marginLeft: marginLeft
};