(label: IntlMessageKeys, key: string)
| 41 | |
| 42 | const mapNavigationEntries = (entries: Navigation, context: Context = {}) => { |
| 43 | const getFormattedMessage = (label: IntlMessageKeys, key: string) => |
| 44 | t.rich(label, context[key] || {}) as FormattedMessage; |
| 45 | |
| 46 | return Object.entries(entries).map( |
| 47 | ([key, { label, link, items, target }]): [ |
no outgoing calls
no test coverage detected