Files
nym/clients/webassembly/react-example/src/index.js
T
Jędrzej Stuczyński 29074723c3 Feature/temp wasm example removal (#324)
* Removed yarn.lock file

* wasm js-example dependency updates

* Disabled wasm js-example

* Disabled wasm react example
2020-09-08 15:18:44 +01:00

21 lines
664 B
JavaScript

import React from 'react';
import ReactDOM from 'react-dom';
import 'bootstrap/dist/css/bootstrap.css';
import "./scss/example-react.scss";
import App from './App';
import * as serviceWorker from './serviceWorker';
ReactDOM.render(
<React.StrictMode>
<h1> The WASM code is currently under work. The example should be restored in 0.8.1! </h1>
{/* <App /> */}
</React.StrictMode>,
document.getElementById('root')
);
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();