Skip to content

Commit

Permalink
fix: schematocode ref perf warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Jan 20, 2025
1 parent c823dc5 commit e8194ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/plugins/SchemaToCode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
<div id="arrow" data-popper-arrow />
</div>
</template>
<div style="{font-size: .875rem}" v-html="codeData" />
<div style="font-size: .875rem" v-html="codeData" />
</div>
</template>

<script setup lang="ts">
import {nextTick, ref} from "vue";
import {nextTick, ref, shallowRef} from "vue";
import {createPopper} from "@popperjs/core";
import ContentCopy from "vue-material-design-icons/ContentCopy.vue";
import Check from "vue-material-design-icons/Check.vue";
const icons = {
ContentCopy,
Check
ContentCopy: shallowRef(ContentCopy),
Check: shallowRef(Check)
} as const
const props = withDefaults(
Expand Down

1 comment on commit e8194ff

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.