Files
edr-platform/apps/edr-freight-web/portal
Nathnael 1cfc0f0fa8 fix(onboarding): stop duplicate company-document upload on finalize
The documents step of CompanyProfileForm uploads company documents via
onUploadDocuments() and then triggers submit synchronously in the same
nextStep() call. The setDocumentFiles({}) that clears the staged files has
not re-rendered by the time finishMutation's closure runs, so reading
documentFiles there re-sent the exact same files and created a duplicate
row per document.

Drop the company-document upload from finishMutation — the documents step
already persisted them. Licenses stay, since they have no auto-upload path.
2026-07-21 07:34:20 +00:00
..
2026-07-04 08:22:18 +00:00
ui
2026-07-14 07:20:01 +00:00
2026-06-10 08:48:05 +00:00
2026-07-16 08:52:29 +00:00
2026-05-15 22:17:31 +03:00
2026-05-12 15:17:16 +03:00
2026-05-12 15:17:16 +03:00