1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-27 18:58:08 +00:00

defineMessage for babel plugin

This commit is contained in:
slowbackspace 2019-02-12 18:40:28 +01:00
parent 597842ae64
commit 8cc69b7cb5

View File

@ -2,8 +2,7 @@
import { defineMessages } from 'react-intl';
import type { Messages } from 'flowtype/npm/react-intl';
const messages: Messages = {
const definedMessages: Messages = defineMessages({
title: {
id: 'dashboard.selectyourcoin.title',
defaultMessage: 'Please select your coin',
@ -14,8 +13,6 @@ const messages: Messages = {
defaultMessage: 'You will gain access to receiving & sending selected coin',
description: 'Content of the dashboard component if coin was not selected',
},
};
const definedMessages: typeof messages = defineMessages(messages);
});
export default definedMessages;