chore: remove unnecessary defineComponent

This commit is contained in:
Dominik Pschenitschni 2022-07-05 00:11:12 +02:00
parent 4a247b2a7d
commit 6f93d6343c
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
9 changed files with 9 additions and 40 deletions

View file

@ -12,12 +12,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import {defineComponent} from 'vue' export default { inheritAttrs: false }
// see https://v3.vuejs.org/api/sfc-script-setup.html#usage-alongside-normal-script
export default defineComponent({
inheritAttrs: false,
})
</script> </script>
<script lang="ts" setup> <script lang="ts" setup>

View file

@ -18,11 +18,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import {defineComponent} from 'vue' export default { name: 'x-button' }
export default defineComponent({
name: 'x-button',
})
</script> </script>
<script setup lang="ts"> <script setup lang="ts">

View file

@ -133,9 +133,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import {defineComponent} from 'vue' export default {name: 'userTeamShare'}
export default defineComponent({name: 'userTeamShare'})
</script> </script>
<script setup lang="ts"> <script setup lang="ts">

View file

@ -21,11 +21,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import {defineComponent} from 'vue' export default { name: 'namespace-setting-share' }
export default defineComponent({
name: 'namespace-setting-share',
})
</script> </script>
<script lang="ts" setup> <script lang="ts" setup>

View file

@ -58,11 +58,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import {defineComponent} from 'vue' export default { name: 'user-settings-avatar' }
export default defineComponent({
name: 'user-settings-avatar',
})
</script> </script>
<script setup lang="ts"> <script setup lang="ts">

View file

@ -39,11 +39,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import {defineComponent} from 'vue' export default {name: 'user-settings-data-export'}
export default defineComponent({
name: 'user-settings-data-export',
})
</script> </script>
<script setup lang="ts"> <script setup lang="ts">

View file

@ -37,10 +37,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import {defineComponent} from 'vue' export default { name: 'user-settings-update-email' }
export default defineComponent({
name: 'user-settings-update-email',
})
</script> </script>
<script setup lang="ts"> <script setup lang="ts">

View file

@ -52,11 +52,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import {defineComponent} from 'vue' export default {name: 'user-settings-password-update'}
export default defineComponent({
name: 'user-settings-password-update',
})
</script> </script>
<script setup lang="ts"> <script setup lang="ts">

View file

@ -65,8 +65,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import {defineComponent} from 'vue' export default { name: 'user-settings-totp' }
export default defineComponent({ name: 'user-settings-totp' })
</script> </script>
<script lang="ts" setup> <script lang="ts" setup>