Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Teaching bubble missing content #7764

Merged
merged 10 commits into from
May 22, 2021
2 changes: 1 addition & 1 deletion Composer/packages/client/src/Onboarding/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
4 changes: 3 additions & 1 deletion Composer/packages/client/src/components/NavItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ export const NavItem: React.FC<INavItemProps> = (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;
Expand Down