Skip to content

Commit

Permalink
chore: no defineProps import, remove Card (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
abulte authored Dec 21, 2023
1 parent f600fc3 commit 209fe9b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 62 deletions.
60 changes: 0 additions & 60 deletions src/components/Card.vue

This file was deleted.

7 changes: 6 additions & 1 deletion src/components/ChartData.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
<script setup>
import LineChart from './LineChart.vue'
const props = defineProps(['chartData'])
const props = defineProps({
chartData: {
type: Array,
required: true
}
})
const chartData = props.chartData
</script>

Expand Down
2 changes: 1 addition & 1 deletion src/components/DiscussionsList.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { storeToRefs } from 'pinia'
import type { ComputedRef, Ref } from 'vue'
import { defineProps, ref, watchEffect, computed } from 'vue'
import { ref, watchEffect, computed } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import config from '../config'
Expand Down

0 comments on commit 209fe9b

Please sign in to comment.