Translation followup (#9735)
Address PR comments and more progress on translation
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { i18n } from '@lingui/core';
|
||||
import { I18nProvider } from '@lingui/react';
|
||||
import { StoryFn } from '@storybook/react';
|
||||
import { Decorator } from '@storybook/react';
|
||||
import { messages as enMessages } from '../../locales/generated/en';
|
||||
|
||||
i18n.load({
|
||||
@ -8,7 +8,7 @@ i18n.load({
|
||||
});
|
||||
i18n.activate('en');
|
||||
|
||||
export const i18nFrontDecorator = (Story: StoryFn) => {
|
||||
export const I18nFrontDecorator: Decorator = (Story) => {
|
||||
return (
|
||||
<I18nProvider i18n={i18n}>
|
||||
<Story />
|
||||
Reference in New Issue
Block a user