Skip to content

Commit 0f8b4e4

Browse files
committed
Use self-close tags
1 parent adcfb3d commit 0f8b4e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/vue-tweet.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
2-
<slot v-if="hasError" name="error"></slot>
3-
<slot v-else-if="isLoading" name="loading"></slot>
4-
<div ref="tweetContainerRef" v-bind="$attrs"></div>
2+
<slot v-if="hasError" name="error" />
3+
<slot v-else-if="isLoading" name="loading" />
4+
<div ref="tweetContainerRef" v-bind="$attrs" />
55
</template>
66

77
<script lang="ts" setup>

0 commit comments

Comments
 (0)