Skip to content

Commit

Permalink
actually use DraftObservationProvider in app
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 committed Dec 3, 2024
1 parent b8e7c08 commit a4c5cc4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/frontend/contexts/AppProviders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -60,11 +61,13 @@ export const AppProviders = ({
appMetrics={appMetrics}
deviceMetrics={deviceMetrics}>
<ActiveProjectProvider>
<BottomSheetModalProvider>
<PhotoPromiseProvider>
<SecurityProvider>{children}</SecurityProvider>
</PhotoPromiseProvider>
</BottomSheetModalProvider>
<DraftObservationProvider>
<BottomSheetModalProvider>
<PhotoPromiseProvider>
<SecurityProvider>{children}</SecurityProvider>
</PhotoPromiseProvider>
</BottomSheetModalProvider>
</DraftObservationProvider>
</ActiveProjectProvider>
</MetricsProvider>
</ApiProvider>
Expand Down

0 comments on commit a4c5cc4

Please sign in to comment.