fix: Update import statements for apiClient in BOM components
- Changed the import statement for apiClient in BomDetailEditModal.tsx and BomHistoryModal.tsx to use named import syntax. - This change ensures consistency in the import style across the BOM components, improving code readability and maintainability.
This commit is contained in:
parent
66c92bb7b1
commit
55cbd8778a
|
|
@ -14,7 +14,7 @@ import { Input } from "@/components/ui/input";
|
|||
import { Label } from "@/components/ui/label";
|
||||
import { Textarea } from "@/components/ui/textarea";
|
||||
import { Loader2 } from "lucide-react";
|
||||
import apiClient from "@/lib/api/client";
|
||||
import { apiClient } from "@/lib/api/client";
|
||||
|
||||
interface BomDetailEditModalProps {
|
||||
open: boolean;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import {
|
|||
import { Button } from "@/components/ui/button";
|
||||
import { Loader2 } from "lucide-react";
|
||||
import { cn } from "@/lib/utils";
|
||||
import apiClient from "@/lib/api/client";
|
||||
import { apiClient } from "@/lib/api/client";
|
||||
|
||||
interface BomHistoryItem {
|
||||
id: string;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import {
|
|||
import { Button } from "@/components/ui/button";
|
||||
import { Loader2, Plus, Trash2, Download } from "lucide-react";
|
||||
import { cn } from "@/lib/utils";
|
||||
import apiClient from "@/lib/api/client";
|
||||
import { apiClient } from "@/lib/api/client";
|
||||
|
||||
interface BomVersion {
|
||||
id: string;
|
||||
|
|
|
|||
Loading…
Reference in New Issue