Skip to content

OnboardingMenu: use i18n.useTranslation hook #344

@ValeraS

Description

@ValeraS

Use translation function from i18n.useTranslation hook instead of direct call to i18n function.

- const text = i18n('key');
+ const {t) = i18n.useTranslation();
+ const text = t('key');

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions