fixed linting errors on build
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { defineProps, defineEmits } from 'vue'
|
||||
|
||||
defineProps({
|
||||
isFavorited: {
|
||||
type: Boolean,
|
||||
|
||||
@@ -139,7 +139,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, watch } from 'vue'
|
||||
import { ref, watch, defineProps, defineEmits } from 'vue'
|
||||
import IntervalDisplay from './IntervalDisplay.vue'
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed } from 'vue'
|
||||
import { computed, defineProps } from 'vue'
|
||||
|
||||
const props = defineProps({
|
||||
intervals: {
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed } from 'vue'
|
||||
import { ref, computed, defineProps, defineEmits } from 'vue'
|
||||
|
||||
const props = defineProps({
|
||||
rating: {
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { defineProps, defineEmits } from 'vue'
|
||||
import StarRating from './StarRating.vue'
|
||||
import FavoriteButton from './FavoriteButton.vue'
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, watch } from 'vue'
|
||||
import { ref, computed, watch, defineProps, defineEmits } from 'vue'
|
||||
|
||||
const props = defineProps({
|
||||
filters: {
|
||||
|
||||
@@ -39,7 +39,7 @@ export const useWorkoutLibraryStore = defineStore('workoutLibrary', () => {
|
||||
page: pagination.value.page,
|
||||
limit: pagination.value.limit,
|
||||
...Object.fromEntries(
|
||||
Object.entries(filters.value).filter(([_, v]) => v !== '' && v !== null)
|
||||
Object.entries(filters.value).filter(([, v]) => v !== '' && v !== null)
|
||||
)
|
||||
}
|
||||
const data = await workoutLibraryApi.getWorkouts(params)
|
||||
|
||||
Reference in New Issue
Block a user