Skip to content

Commit f486465

Browse files
authored
fix: remove duplicate dsl parser (#612)
1 parent 9ea11d0 commit f486465

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/src/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import { formatExportedChartDatas } from "./utils/save";
3030
import { tracker } from "@/utils/tracker";
3131
import Notification from "./notify"
3232
import initDslParser from "@kanaries/gw-dsl-parser";
33-
import wasmPath from "@kanaries/gw-dsl-parser/gw_dsl_parser_bg.wasm?url";
3433
import {
3534
Select,
3635
SelectContent,
@@ -356,7 +355,7 @@ const initOnJupyter = async(props: IAppProps) => {
356355
if (props.needLoadDatas) {
357356
comm.sendMsgAsync("request_data", {}, null);
358357
}
359-
await initDslParser(wasmPath);
358+
await initDslParser();
360359
}
361360

362361
const initOnHttpCommunication = async(props: IAppProps) => {
@@ -366,7 +365,7 @@ const initOnHttpCommunication = async(props: IAppProps) => {
366365
const visSpecResp = await comm.sendMsg("get_latest_vis_spec", {});
367366
props.visSpec = visSpecResp["data"]["visSpec"];
368367
}
369-
await initDslParser(wasmPath);
368+
await initDslParser();
370369
}
371370

372371
const defaultInit = async(props: IAppProps) => {}

0 commit comments

Comments
 (0)