mirror of
https://github.com/status-im/ens-usernames.git
synced 2025-02-23 23:58:16 +00:00
* Fix redux store configuration * Setup i18n * Add welcome page french and english translation * Rename languages files * Add optimized translation * Add Ethereum network error message translation * Add top navbar translation * Add constants translation * Add move domain translation * Add translation to add domain * Add name lookup translation * Add display box translation * Add edit options translation * Add register sub domain translation * Add release domain translation * Add setup ens translation * Add update controller translation * Add test token translation * Add erc20 token translation * Add ens sub management translation * Add admin mode translation * Add terms translation
15 lines
357 B
JavaScript
15 lines
357 B
JavaScript
import lang from 'i18n-js';
|
|
import React, { Fragment } from 'react';
|
|
import Warning from '../../ui/components/Warning';
|
|
|
|
const Web3Render = ({ ready, children, network }) => (
|
|
<Fragment>
|
|
{ready
|
|
? <Fragment>{children}</Fragment>
|
|
: <Warning>{lang.t('error.connect', { network })}</Warning>
|
|
}
|
|
</Fragment>
|
|
);
|
|
|
|
export default Web3Render;
|