fixed linting errors on build

This commit is contained in:
Cipher Vance
2026-01-21 18:25:46 -06:00
parent 224ea3e55b
commit 9c55db2128
7 changed files with 8 additions and 5 deletions

View File

@@ -20,6 +20,8 @@
</template>
<script setup>
import { defineProps, defineEmits } from 'vue'
defineProps({
isFavorited: {
type: Boolean,

View File

@@ -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({

View File

@@ -58,7 +58,7 @@
</template>
<script setup>
import { computed } from 'vue'
import { computed, defineProps } from 'vue'
const props = defineProps({
intervals: {

View File

@@ -26,7 +26,7 @@
</template>
<script setup>
import { ref, computed } from 'vue'
import { ref, computed, defineProps, defineEmits } from 'vue'
const props = defineProps({
rating: {

View File

@@ -54,6 +54,7 @@
</template>
<script setup>
import { defineProps, defineEmits } from 'vue'
import StarRating from './StarRating.vue'
import FavoriteButton from './FavoriteButton.vue'

View File

@@ -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: {

View File

@@ -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)