From a9169a9d129a8b23e6791dfe79a70f356fcb9aa0 Mon Sep 17 00:00:00 2001 From: TJ Date: Tue, 11 May 2021 16:41:54 -0600 Subject: [PATCH 1/2] fix: Teaching bubble missing content --- Composer/packages/client/src/Onboarding/content.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Composer/packages/client/src/Onboarding/content.tsx b/Composer/packages/client/src/Onboarding/content.tsx index 0aa810e658..fe29019b3e 100644 --- a/Composer/packages/client/src/Onboarding/content.tsx +++ b/Composer/packages/client/src/Onboarding/content.tsx @@ -168,7 +168,7 @@ export const getTeachingBubble = (id: string | undefined): TeachingBubble => { }, }; - case 'projectSettings': + case 'publish': return { content: formatMessage('Publish your bot to Azure and manage published bots here.'), headline: formatMessage('Configure and publish'), From 6b70d0e9761cfcf49a9f00c90abd9e152de68b4a Mon Sep 17 00:00:00 2001 From: TJ Date: Tue, 11 May 2021 17:06:36 -0600 Subject: [PATCH 2/2] Fix item ref --- Composer/packages/client/src/components/NavItem.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Composer/packages/client/src/components/NavItem.tsx b/Composer/packages/client/src/components/NavItem.tsx index 88e5b9f639..2a067dfbb6 100644 --- a/Composer/packages/client/src/components/NavItem.tsx +++ b/Composer/packages/client/src/components/NavItem.tsx @@ -99,7 +99,9 @@ export const NavItem: React.FC = (props) => { const active = (pathname.startsWith(to) || match?.test(pathname)) ?? false; - const addRef = useCallback((ref) => onboardingAddCoachMarkRef({ [`nav${labelName.replace(' ', '')}`]: ref }), []); + const addRef = useCallback((ref) => onboardingAddCoachMarkRef({ [`nav${labelName.replace(' ', '')}`]: ref }), [ + labelName, + ]); const getIcon = (iconName: string) => { let navIcon;