Changeset 299af01 for src/sections/user/customer-new-edit-form.tsx
- Timestamp:
- 02/26/25 14:27:26 (6 weeks ago)
- Branches:
- main
- Children:
- 3c5302a
- Parents:
- 057453c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sections/user/customer-new-edit-form.tsx
r057453c r299af01 53 53 }, 54 54 vatNumber: currentCustomer?.vatNumber || '', 55 companyId: currentCustomer?.companyId || '',56 55 companyNumber: currentCustomer?.companyNumber || '', 57 56 id: currentCustomer?.id || '', … … 86 85 const logoUrl = await uploadToFirebaseStorage(logoFile, storagePath); 87 86 88 // const customersRef = collection(db, 'customers');89 // await addDoc(customersRef, { ...data, logoUrl });90 87 await createCustomer({ ...data, logoUrl }); 91 88
Note:
See TracChangeset
for help on using the changeset viewer.