add electron

This commit is contained in:
Esteban Abaroa
2023-04-24 19:42:49 +00:00
parent 3e1eebec5b
commit 41cdc9db3b
21 changed files with 2583 additions and 146 deletions
+7
View File
@@ -4,6 +4,13 @@ import App from './App';
import { HelmetProvider } from 'react-helmet-async';
import { HashRouter } from 'react-router-dom';
import PlebbitJs from '@plebbit/plebbit-js';
// inject native functions into renderer
// https://github.com/plebbit/plebbit-js/blob/master/docs/cross-platform-native-functions.md
if (window.plebbitJsNativeFunctions) {
PlebbitJs.setNativeFunctions(window.plebbitJsNativeFunctions);
}
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<React.StrictMode>