Browse Source

fix(onboarding): Add missing `useEffect` dependency (#49105)

This adds a missing dependency to the `useEffect` hook used in the `Onboarding` component, to keep the linter from complaining and blocking pre-commit hooks when unrelated changes are made to the file.
Katie Byers 1 year ago
parent
commit
18d648663a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      static/app/views/onboarding/onboarding.tsx

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

@@ -135,6 +135,7 @@ function Onboarding(props: Props) {
     onboardingContext,
     onboardingSteps,
     organization.slug,
+    props.location.pathname,
   ]);
 
   const heartbeatFooter = !!organization?.features.includes(