Skip to content

Commit c999254

Browse files
committed
chore: apply eslint auto-fixes
1 parent 5901cc1 commit c999254

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

resources/js/components/DataTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface Props {
2121
loading?: boolean;
2222
}
2323
24-
const props = withDefaults(defineProps<Props>(), {
24+
withDefaults(defineProps<Props>(), {
2525
caption: '',
2626
emptyMessage: 'No data available',
2727
emptyDescription: 'No data available. Get started by adding something.',

resources/js/components/admin/MarkAsDamagedModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface Props {
2222
item: InventoryItem | null;
2323
}
2424
25-
const props = defineProps<Props>();
25+
defineProps<Props>();
2626
2727
const emit = defineEmits<{
2828
'update:open': [value: boolean];

resources/js/pages/admin/Dashboard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { type DashboardStats } from '@/types/admin';
88
import { Head } from '@inertiajs/vue3';
99
import { Package, PhilippinePeso, ShoppingCart, Users } from 'lucide-vue-next';
1010
11-
const props = defineProps<DashboardStats>();
11+
defineProps<DashboardStats>();
1212
const { formatCurrency } = useFormatters();
1313
1414
const breadcrumbs: BreadcrumbItem[] = [

resources/js/pages/admin/Inventory/Items/Create.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { Supplier } from '@/types/admin';
1515
import { Form, Head } from '@inertiajs/vue3';
1616
import { Upload, X } from 'lucide-vue-next';
1717
18-
const props = defineProps<{
18+
defineProps<{
1919
suppliers: Supplier[];
2020
}>();
2121

resources/js/pages/admin/Reports/Billing.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ interface Props {
3030
report: BillingMetrics;
3131
}
3232
33-
const props = defineProps<Props>();
33+
defineProps<Props>();
3434
const { formatCurrency, formatDate } = useFormatters();
3535
3636
const outstandingColumns: DataTableColumn[] = [

resources/js/pages/admin/Reports/Delivery.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ interface Props {
2424
report: DeliveryMetrics;
2525
}
2626
27-
const props = defineProps<Props>();
27+
defineProps<Props>();
2828
2929
const statusColumns: DataTableColumn[] = [
3030
{

resources/js/pages/admin/Reports/Inventory.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ interface Props {
2525
report: InventoryMetrics;
2626
}
2727
28-
const props = defineProps<Props>();
28+
defineProps<Props>();
2929
const { formatCurrency } = useFormatters();
3030
3131
const lowStockColumns: DataTableColumn[] = [

resources/js/pages/admin/Reports/Orders.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ interface Props {
2525
report: OrderMetrics;
2626
}
2727
28-
const props = defineProps<Props>();
28+
defineProps<Props>();
2929
const { formatCurrency } = useFormatters();
3030
3131
const statusColumns: DataTableColumn[] = [

resources/js/pages/admin/Reports/Sales.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ interface Props {
3030
report: SalesMetrics;
3131
}
3232
33-
const props = defineProps<Props>();
33+
defineProps<Props>();
3434
const { formatCurrency } = useFormatters();
3535
3636
const topItemsColumns: DataTableColumn[] = [

0 commit comments

Comments
 (0)