We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d0c899 commit 85f8c27Copy full SHA for 85f8c27
1 file changed
src/components/OnboardingMenu/OnboardingMenu.tsx
@@ -51,6 +51,7 @@ const OnboardingMenuParent = ({
51
children,
52
}: OnboardingMenuProps) => {
53
const [isHovered, setIsHovered] = React.useState(false);
54
+ const {t} = i18n.useTranslation();
55
56
const onMouseEnter = React.useCallback(() => {
57
if (withCloseButton) {
@@ -150,15 +151,15 @@ const OnboardingMenuParent = ({
150
151
onClick={onCollapseClickCallback}
152
width="max"
153
>
- {collapseButtonText ?? i18n('collapse')}
154
+ {collapseButtonText ?? t('collapse')}
155
</Button>
156
<Button
157
view="outlined-contrast"
158
onClick={onCompleteClick}
159
size="m"
160
161
- {completeButtonText ?? i18n('complete')}
162
+ {completeButtonText ?? t('complete')}
163
164
</div>
165
</React.Fragment>
0 commit comments