diff --git a/source/frontend/src/features/leases/hooks/useLeaseDetail.ts b/source/frontend/src/features/leases/hooks/useLeaseDetail.ts index 4db4f5b9e1..5ff359984a 100644 --- a/source/frontend/src/features/leases/hooks/useLeaseDetail.ts +++ b/source/frontend/src/features/leases/hooks/useLeaseDetail.ts @@ -101,9 +101,9 @@ export function useLeaseDetail(leaseId?: number) { return { lease, setLease, - refresh: () => { + refresh: async () => { setStaleLastUpdatedBy(true); - getCompleteLease(); + await getCompleteLease(); }, getCompleteLease, loading: loading,