2017-02-20 18:15:36 +02:00
|
|
|
import a11y from 'react-a11y';
|
|
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import React from 'react';
|
|
|
|
import Root from './root';
|
2016-10-20 04:14:26 +03:00
|
|
|
|
2016-10-25 22:36:05 +03:00
|
|
|
if (process.env.NODE_ENV !== 'production') {
|
|
|
|
a11y(React, {
|
|
|
|
ReactDOM
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2017-02-20 18:15:36 +02:00
|
|
|
ReactDOM.render(
|
|
|
|
<Root />,
|
|
|
|
document.getElementById('root')
|
|
|
|
);
|