From c0e74e4d56eb6f8259df65ccca8ac3c7497aeece Mon Sep 17 00:00:00 2001 From: Michelle Zhang <56095982+michellewzhang@users.noreply.github.com> Date: Wed, 3 Jan 2024 17:34:32 -0800 Subject: [PATCH] fix(replay onboarding): fix bug where mask/block toggles not working for JS Loader (#62597) (wrong param name being called) --- .../components/onboarding/gettingStartedDoc/utils/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/static/app/components/onboarding/gettingStartedDoc/utils/index.tsx b/static/app/components/onboarding/gettingStartedDoc/utils/index.tsx index b3952a9190d393..b815806e330497 100644 --- a/static/app/components/onboarding/gettingStartedDoc/utils/index.tsx +++ b/static/app/components/onboarding/gettingStartedDoc/utils/index.tsx @@ -1,4 +1,5 @@ import ExternalLink from 'sentry/components/links/externalLink'; +import {DocsParams} from 'sentry/components/onboarding/gettingStartedDoc/types'; import {t, tct} from 'sentry/locale'; import type {Organization, PlatformKey} from 'sentry/types'; import {trackAnalytics} from 'sentry/utils/analytics'; @@ -78,12 +79,12 @@ export const getReplayConfigureDescription = ({link}: {link: string}) => } ); -export const getReplayJsLoaderSdkSetupSnippet = params => ` +export const getReplayJsLoaderSdkSetupSnippet = (params: DocsParams) => `