Browse Source

fix(js): Correct eslint hook rule in onboarding (#34480)

Evan Purkhiser 2 years ago
parent
commit
3427dd5117
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/app/views/onboarding/onboarding.tsx

+ 1 - 1
static/app/views/onboarding/onboarding.tsx

@@ -165,7 +165,7 @@ class Onboarding extends Component<Props, State> {
     // way to create framer-motion controls than by using the `useAnimation`
     // hook.
 
-    useEffect(updateCornerVariant, []);
+    useEffect(updateCornerVariant, [cornerVariantControl]);
 
     return (
       <Container>