Skip to content

Commit 675994d

Browse files
authored
Merge pull request #77723 from dmkt9/fix/76986
Fix/76986 - Unable to drag image file at Reports tab
2 parents 1b0ff04 + 2746731 commit 675994d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pages/Search/SearchPageWide.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import type {OnyxEntry} from 'react-native-onyx';
55
import FullPageNotFoundView from '@components/BlockingViews/FullPageNotFoundView';
66
import type {DropdownOption} from '@components/ButtonWithDropdownMenu/types';
77
import DragAndDropConsumer from '@components/DragAndDrop/Consumer';
8+
import DragAndDropProvider from '@components/DragAndDrop/Provider';
89
import DropZoneUI from '@components/DropZone/DropZoneUI';
910
import ScreenWrapper from '@components/ScreenWrapper';
1011
import Search from '@components/Search';
@@ -99,7 +100,7 @@ function SearchPageWide({
99100
shouldShowLink={false}
100101
>
101102
{!!queryJSON && (
102-
<>
103+
<DragAndDropProvider>
103104
{PDFValidationComponent}
104105
<SearchPageHeader
105106
queryJSON={queryJSON}
@@ -142,7 +143,7 @@ function SearchPageWide({
142143
dashedBorderStyles={[styles.dropzoneArea, styles.easeInOpacityTransition, styles.activeDropzoneDashedBorder(theme.receiptDropBorderColorActive, true)]}
143144
/>
144145
</DragAndDropConsumer>
145-
</>
146+
</DragAndDropProvider>
146147
)}
147148
</FullPageNotFoundView>
148149
</ScreenWrapper>

0 commit comments

Comments
 (0)