Skip to content

Commit

Permalink
fix: removed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed Jan 21, 2022
1 parent 2ae76a4 commit ac4789a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 0 additions & 4 deletions src/view/ui/Content.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 0 additions & 1 deletion src/view/ui/Traits.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
</script>
Expand Down

0 comments on commit ac4789a

Please sign in to comment.