diff --git a/src/Components/Tree.svelte b/src/Components/CBTree.svelte similarity index 100% rename from src/Components/Tree.svelte rename to src/Components/CBTree.svelte diff --git a/src/main.ts b/src/main.ts index 37e20ec9..0540131b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -104,7 +104,7 @@ import { } from "./sharedFunctions"; import StatsView from "./StatsView"; import { VisModal } from "./VisModal"; -import Tree from "./Components/Tree.svelte"; +import CBTree from "./Components/CBTree.svelte"; export default class BCPlugin extends Plugin { settings: BCSettings; @@ -603,7 +603,7 @@ export default class BCPlugin extends Plugin { switch (type) { case "tree": - new Tree({ + new CBTree({ target: el, props: { plugin: this,