From a4c5cc4f0acc6727b58be360f217b839f0e7fab0 Mon Sep 17 00:00:00 2001 From: Andrew Chou Date: Tue, 3 Dec 2024 16:02:24 +0000 Subject: [PATCH] actually use DraftObservationProvider in app --- src/frontend/contexts/AppProviders.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/frontend/contexts/AppProviders.tsx b/src/frontend/contexts/AppProviders.tsx index 903ddfe1e..090522e54 100644 --- a/src/frontend/contexts/AppProviders.tsx +++ b/src/frontend/contexts/AppProviders.tsx @@ -26,6 +26,7 @@ import {BottomSheetModalProvider} from '@gorhom/bottom-sheet'; import {MetricsProvider} from './MetricsContext'; import {AppDiagnosticMetrics} from '../metrics/AppDiagnosticMetrics'; import {DeviceDiagnosticMetrics} from '../metrics/DeviceDiagnosticMetrics'; +import {DraftObservationProvider} from './DraftObservationContext'; type AppProvidersProps = { children: React.ReactNode; @@ -60,11 +61,13 @@ export const AppProviders = ({ appMetrics={appMetrics} deviceMetrics={deviceMetrics}> - - - {children} - - + + + + {children} + + +