fix: Remove unused TypeScript imports and variables
All checks were successful
Test Asgard Runner / test (push) Successful in 3s
All checks were successful
Test Asgard Runner / test (push) Successful in 3s
- Remove unused ExternalLink import from ModuleStoreView - Remove unused Tag import from StoreItemsView - Prefix unused cmd variable with underscore in v-for loop Fixes production build TypeScript errors.
This commit is contained in:
@@ -3,7 +3,7 @@ import { ref, computed, onMounted } from 'vue'
|
|||||||
import { useApi } from '@/composables/useApi'
|
import { useApi } from '@/composables/useApi'
|
||||||
import { useAuthStore } from '@/stores/auth'
|
import { useAuthStore } from '@/stores/auth'
|
||||||
import type { Module } from '@/types'
|
import type { Module } from '@/types'
|
||||||
import { ShoppingCart, Package, Search, Filter, X, Check, Download, AlertCircle, ExternalLink } from 'lucide-vue-next'
|
import { ShoppingCart, Package, Search, Filter, X, Check, Download, AlertCircle } from 'lucide-vue-next'
|
||||||
|
|
||||||
const api = useApi()
|
const api = useApi()
|
||||||
const auth = useAuthStore()
|
const auth = useAuthStore()
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { ref, computed, onMounted } from 'vue'
|
import { ref, computed, onMounted } from 'vue'
|
||||||
import { useApi } from '@/composables/useApi'
|
import { useApi } from '@/composables/useApi'
|
||||||
import type { StoreCategory, StoreItem } from '@/types'
|
import type { StoreCategory, StoreItem } from '@/types'
|
||||||
import { ShoppingBag, Plus, Trash2, RefreshCw, Edit2, DollarSign, X, Tag } from 'lucide-vue-next'
|
import { ShoppingBag, Plus, Trash2, RefreshCw, Edit2, DollarSign, X } from 'lucide-vue-next'
|
||||||
|
|
||||||
const api = useApi()
|
const api = useApi()
|
||||||
|
|
||||||
@@ -623,7 +623,7 @@ onMounted(() => {
|
|||||||
<p class="text-neutral-500 mt-2">Example: {{ selectedTypeExample }}</p>
|
<p class="text-neutral-500 mt-2">Example: {{ selectedTypeExample }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="space-y-2">
|
<div class="space-y-2">
|
||||||
<div v-for="(cmd, index) in itemForm.delivery_commands" :key="index" class="flex gap-2">
|
<div v-for="(_cmd, index) in itemForm.delivery_commands" :key="index" class="flex gap-2">
|
||||||
<input
|
<input
|
||||||
v-model="itemForm.delivery_commands[index]"
|
v-model="itemForm.delivery_commands[index]"
|
||||||
type="text"
|
type="text"
|
||||||
|
|||||||
Reference in New Issue
Block a user