Skip to content

Commit 1b698a5

Browse files
committed
chore: fix typo
1 parent d4ccef3 commit 1b698a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/context.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ export class GlobalContext {
1818
loadFromLocalStorage(this);
1919
}
2020

21-
private setNetWork(datagraph: DataGraph, layer: Layer) {
21+
private setNetwork(datagraph: DataGraph, layer: Layer) {
2222
this.datagraph = datagraph;
2323
this.viewport.clear();
2424
this.viewgraph = new ViewGraph(this.datagraph, this.viewport, layer);
2525
}
2626

2727
load(datagraph: DataGraph, layer: Layer = Layer.Link) {
28-
this.setNetWork(datagraph, layer);
28+
this.setNetwork(datagraph, layer);
2929
this.setupAutoSave();
3030
saveToLocalStorage(this);
3131
}

0 commit comments

Comments
 (0)