Skip to content

Commit

Permalink
fix(hyperscript): fix minor issues with h function
Browse files Browse the repository at this point in the history
  • Loading branch information
joseacabaneros committed Aug 1, 2024
1 parent 11e5358 commit 5d69d64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { computed, defineComponent, h, PropType, VNode, VNodeChildren } from 'vue';
import { computed, defineComponent, h, PropType, VNode } from 'vue';
import { RangeValue } from '@empathyco/x-types';
import BaseCurrency from '../../currency/base-currency.vue';
Expand Down Expand Up @@ -67,7 +67,7 @@
const render = (): VNode => {
const labelParts = label.value.split(/({min}|{max})/);
const children: VNodeChildren = labelParts.map(partMessage => {
const children = labelParts.map(partMessage => {
if (partMessage === '{min}') {
return h('BaseCurrency', {
props: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { defineComponent, h, PropType, provide } from 'vue';
import { defineComponent, PropType, provide } from 'vue';
import { TaggingRequest } from '@empathyco/x-types';
export default defineComponent({
Expand Down

0 comments on commit 5d69d64

Please sign in to comment.