调整WASM加载。
This commit is contained in:
parent
2ddffe1b12
commit
128eeb24ac
|
@ -42,7 +42,6 @@ export function ColorFunctionProvider({ children }: WasmProviderProps) {
|
||||||
try {
|
try {
|
||||||
await init();
|
await init();
|
||||||
setWasmInstance(funcs);
|
setWasmInstance(funcs);
|
||||||
console.debug('[Load WASM]', 'Loaded');
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error('[Load WASM]', e);
|
console.error('[Load WASM]', e);
|
||||||
setError(e);
|
setError(e);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user