Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
janniks committed Jul 24, 2024
1 parent e99545d commit 177048b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 38 deletions.
8 changes: 1 addition & 7 deletions src/blocks/decorator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,13 @@

<script>
import { Blockable, blockProps } from "@/lib/blockable";
import NotionMention from "@/blocks/mention";
import NotionMention from "@/blocks/helpers/mention";
export default {
extends: Blockable,
name: "NotionDecorator",
props: { ...blockProps, content: Array },
components: { NotionMention },
mounted() {
console.log("content", this.content);
console.log("decorators", this.decorators);
console.log("decoratorValue", this.decoratorValue);
console.log("isValueArray", this.isValueArray);
},
computed: {
text() {
return this.content?.[0];
Expand Down
31 changes: 0 additions & 31 deletions src/blocks/mention.vue

This file was deleted.

1 change: 1 addition & 0 deletions src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export { default as NotionColumnSpacer } from "../blocks/helpers/column-spacer.v
export { default as NotionFigure } from "../blocks/helpers/figure.vue";
export { default as NotionFragment } from "../blocks/helpers/fragment.vue";
export { default as NotionImage } from "../blocks/helpers/image.vue";
export { default as NotionMention } from "../blocks/helpers/mention.vue";
export { default as NotionNestedList } from "../blocks/helpers/nested-list.vue";
export { default as NotionPageHeader } from "../blocks/helpers/page-header.vue";
export { default as NotionPageIcon } from "../blocks/helpers/page-icon.vue";
Expand Down

0 comments on commit 177048b

Please sign in to comment.