From c55a263bdada6fd5d8b509e4fc3c854ffc41d8ae Mon Sep 17 00:00:00 2001 From: Benjamin Limpich Date: Thu, 18 Dec 2025 11:30:04 -0800 Subject: [PATCH] Revert "[NO QA] Update `policy.time` to `policy.units.time`" --- src/types/onyx/Policy.ts | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/types/onyx/Policy.ts b/src/types/onyx/Policy.ts index c564fc3f84d6..1fd8ab184e08 100644 --- a/src/types/onyx/Policy.ts +++ b/src/types/onyx/Policy.ts @@ -1873,16 +1873,12 @@ type Policy = OnyxCommon.OnyxValueWithOfflineFeedback< /** Collection of tax rates attached to a policy */ taxRates?: TaxRatesWithDefault; - /** Units configuration */ - units?: { - /** Time tracking configuration */ - time?: { - /** Whether time tracking is enabled */ - enabled?: boolean; - - /** Default hourly rate */ - rate?: number; - }; + /** Time tracking configuration */ + time?: { + /** Whether time tracking is enabled */ + enabled?: boolean; + /** Default hourly rate */ + rate?: number; }; /** A set of rules related to the workspace */