feat: add delivery address migration, update companies server actions and rewrite companies page to support creation and edit of full address
All checks were successful
Staging Build / build (push) Successful in 2m37s

This commit is contained in:
DanielS
2026-06-25 01:52:05 +02:00
parent 85df922498
commit a1ad75c2db
4 changed files with 168 additions and 37 deletions

View File

@@ -280,7 +280,7 @@ export function UserDialog({ companies }: UserDialogProps) {
if (trimmed) {
setIsCreatingCompany(true)
try {
const created = await createCompany(trimmed)
const created = await createCompany({ name: trimmed })
if (created) {
setLocalCompanies((prev) => [...prev, created])
field.onChange(created.id)