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