fix: importing runtime (#254)

This commit is contained in:
Lea Anthony
2019-10-09 19:33:13 +11:00
committed by GitHub
parent 0b19ad1427
commit 1b04b71254
4 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ import 'core-js/stable';
import './index.css';
import App from './App';
import Wails from '@wailsapp/runtime';
import * as Wails from '@wailsapp/runtime';
Wails.Init(() => {
ReactDOM.render(<App />, document.getElementById('app'));