From 264b687f977bf98163a184dca9070e90ed1ca575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=2EC?= Date: Wed, 8 Jul 2020 19:48:59 +0200 Subject: [PATCH] error on stop method this.stops => this.stop --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 465fd8c..b3df715 100644 --- a/src/index.js +++ b/src/index.js @@ -38,7 +38,7 @@ export default class Lottie extends React.Component { this.setAnimationControl(); if (this.props.isStopped) { - this.stops(); + this.stop(); } else if (this.props.segments) { this.playSegments(true); } else {