working
This commit is contained in:
parent
f2ab47994b
commit
b657bfb6ba
@ -37,15 +37,14 @@ const App = ({ store }) => {
|
||||
}
|
||||
|
||||
export let sce
|
||||
export let pako
|
||||
|
||||
document.addEventListener('DOMContentLoaded', async () => {
|
||||
|
||||
const { Scene } = await import('../Scene')
|
||||
sce = new Scene(store)
|
||||
// window.sc = sce
|
||||
ReactDOM.render(<App store={store} />, document.getElementById('react'));
|
||||
|
||||
ReactDOM.render(<App store={store} />, document.getElementById('react'));
|
||||
|
||||
});
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
|
||||
import React, { useState } from 'react';
|
||||
|
||||
import { useDispatch, useSelector } from 'react-redux'
|
||||
import { useDispatch} from 'react-redux'
|
||||
|
||||
import { sce, pako } from './app'
|
||||
import { sce } from './app'
|
||||
|
||||
|
||||
const utf8decoder = new TextDecoder();
|
||||
|
Loading…
Reference in New Issue
Block a user