mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-27 10:48:22 +00:00
defineMessage for babel plugin
This commit is contained in:
parent
597842ae64
commit
8cc69b7cb5
@ -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;
|
Loading…
Reference in New Issue
Block a user