Skip to content

Commit

Permalink
removed unnecessary props var
Browse files Browse the repository at this point in the history
  • Loading branch information
mktcode committed Aug 23, 2022
1 parent 7b9d2ee commit 60b7fb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/InputNumber.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
const props = defineProps<{
defineProps<{
modelValue?: number | string;
definition?: any;
error?: { message: string; push?: boolean };
Expand All @@ -12,7 +12,7 @@ const emit = defineEmits(['update:modelValue']);

<template>
<BaseInput
:model-value="props.modelValue || props.definition?.default"
:model-value="modelValue || definition?.default"
:definition="definition"
:error="error"
:placeholder="placeholder"
Expand Down

0 comments on commit 60b7fb7

Please sign in to comment.