From ac4789ab87d321ae724515de96b7c215d04159ae Mon Sep 17 00:00:00 2001 From: Jeremy Valentine <38669521+valentine195@users.noreply.github.com> Date: Thu, 20 Jan 2022 21:12:18 -0500 Subject: [PATCH] fix: removed logs --- src/main.ts | 1 - src/view/ui/Content.svelte | 4 ---- src/view/ui/Traits.svelte | 1 - 3 files changed, 6 deletions(-) diff --git a/src/main.ts b/src/main.ts index 69a4536b..7221ae21 100644 --- a/src/main.ts +++ b/src/main.ts @@ -373,7 +373,6 @@ export default class StatBlockPlugin extends Plugin { this.bestiary.get(params.creature), additionalParams ); - console.log("🚀 ~ file: main.ts ~ line 377 ~ monster", monster.traits); //TODO: The traits are breaking because it expects { name, desc }, not array. let traits, actions, legendary_actions, reactions; if (monster) { diff --git a/src/view/ui/Content.svelte b/src/view/ui/Content.svelte index cfd05572..b8248c8a 100644 --- a/src/view/ui/Content.svelte +++ b/src/view/ui/Content.svelte @@ -179,10 +179,6 @@ } case "traits": { const blocks: Trait[] = monster[item.properties[0]] as Trait[]; - console.log( - "🚀 ~ file: Content.svelte ~ line 182 ~ blocks", - blocks - ); if (!Array.isArray(blocks) || !blocks.length) return []; if (item.heading) { diff --git a/src/view/ui/Traits.svelte b/src/view/ui/Traits.svelte index e9215b69..da4e2db1 100644 --- a/src/view/ui/Traits.svelte +++ b/src/view/ui/Traits.svelte @@ -2,7 +2,6 @@ import TextContentHolder from "./TextContentHolder.svelte"; export let name: string; - console.log("🚀 ~ file: Traits.svelte ~ line 5 ~ name", name); export let desc: string; export let render: boolean;