mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-26 13:20:48 +00:00
ICU book workflow
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
|
||||
import * as React from 'react';
|
||||
import type { Meta } from '@storybook/react';
|
||||
import { setupI18n } from '../../util/setupI18n';
|
||||
import enMessages from '../../../_locales/en/messages.json';
|
||||
import type { PropsType } from './DeliveryIssueNotification';
|
||||
import { DeliveryIssueNotification } from './DeliveryIssueNotification';
|
||||
import { getDefaultConversation } from '../../test-both/helpers/getDefaultConversation';
|
||||
@@ -13,7 +11,7 @@ export default {
|
||||
title: 'Components/Conversation/DeliveryIssueNotification',
|
||||
} satisfies Meta<PropsType>;
|
||||
|
||||
const i18n = setupI18n('en', enMessages);
|
||||
const { i18n } = window.SignalContext;
|
||||
const sender = getDefaultConversation();
|
||||
|
||||
export function Default(): JSX.Element {
|
||||
|
||||
Reference in New Issue
Block a user