-
+
+ );
}
diff --git a/app/ui/LocationEditForm.tsx b/app/ui/LocationEditForm.tsx
index 31568d8..5dfb14c 100644
--- a/app/ui/LocationEditForm.tsx
+++ b/app/ui/LocationEditForm.tsx
@@ -12,10 +12,10 @@ export type LocationEditFormProps = {
/** location which should be edited */
location: BillingLocation,
/** year adn month at a new billing location should be assigned */
- yearMonth: undefined
+ yearMonth?: undefined
} | {
/** location which should be edited */
- location: undefined,
+ location?: undefined,
/** year adn month at a new billing location should be assigned */
yearMonth: YearMonth
}