From 76d393098324e5e20496feb87efb89b8b06c3fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arno=C5=A1t=20Pleskot?= Date: Mon, 31 Jul 2023 09:50:47 +0200 Subject: [PATCH] fix: typo --- src/components/App.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/App.tsx b/src/components/App.tsx index 4961af093..5baf7fbda 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -8258,7 +8258,7 @@ class App extends React.Component { scrollX, scrollY, }); - this.animateConstainedScroll({ + this.animateConstrainedScroll({ ...constrainedScrollValues, opts: { onEndCallback: () => { @@ -8463,7 +8463,7 @@ class App extends React.Component { /** * Animate the scroll values to the constrained area */ - private animateConstainedScroll = ({ + private animateConstrainedScroll = ({ constrainedScrollX, constrainedScrollY, opts, @@ -8556,7 +8556,7 @@ class App extends React.Component { if (isStateChanged) { if (shouldAnimate) { - this.animateConstainedScroll({ + this.animateConstrainedScroll({ constrainedScrollX, constrainedScrollY, });