mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
Dispatch needs to be fixed going through old code.
This commit is contained in:
1 parent
6eef4e4c65
commit
103c484cd4
1 file changed
+1
-1
@@ -33,7 +33,7 @@ export const EngineProvider = ({ children }: Props) => {
|
||||
}, []);
|
||||
|
||||
useEffect(()=>{
|
||||
if (editor && editor.can_initailize && dispatchAppUiState!==null){
|
||||
if (editor && editor.can_initialize && dispatchAppUiState!==null){
|
||||
console.log("initializing Editor");
|
||||
editor.initialize({
|
||||
dispatchAppUiState
|
||||
|
||||
Reference in new issue
Block a user