From a8655f284109797af737557edf269ec53e9931d7 Mon Sep 17 00:00:00 2001 From: Hironobu Kimura <kimura@emotionale.jp> Date: Sun, 22 Mar 2020 11:14:22 +0900 Subject: [PATCH] fix componentWillUnmount name --- src/components/PlaceholderWithoutTracking.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PlaceholderWithoutTracking.jsx b/src/components/PlaceholderWithoutTracking.jsx index 89ee10a..e7f1815 100644 --- a/src/components/PlaceholderWithoutTracking.jsx +++ b/src/components/PlaceholderWithoutTracking.jsx @@ -50,7 +50,7 @@ class PlaceholderWithoutTracking extends React.Component { } } - componentWillUnMount() { + componentWillUnmount() { if (this.LAZY_LOAD_OBSERVER) { this.LAZY_LOAD_OBSERVER.observer.unobserve(this.placeholder); }