From c988129144bb9f3cdb6711c3e594efbee54f86b9 Mon Sep 17 00:00:00 2001 From: Blazej Kustra Date: Wed, 29 Nov 2023 12:18:31 +0100 Subject: [PATCH] Remove ReportScreenWrapper that was added by mistake --- .../AppNavigator/ReportScreenWrapper.tsx | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/libs/Navigation/AppNavigator/ReportScreenWrapper.tsx diff --git a/src/libs/Navigation/AppNavigator/ReportScreenWrapper.tsx b/src/libs/Navigation/AppNavigator/ReportScreenWrapper.tsx deleted file mode 100644 index 4fc83ca9fb0b..000000000000 --- a/src/libs/Navigation/AppNavigator/ReportScreenWrapper.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import React from 'react'; -import ReportScreen from '@pages/home/ReportScreen'; -import ReportScreenIDSetter from './ReportScreenIDSetter'; - -type Props = { - route: any; - navigation: any; -}; - -function ReportScreenWrapper({route, navigation}: Props) { - // The ReportScreen without the reportID set will display a skeleton - // until the reportID is loaded and set in the route param - return ( - <> - {/* @ts-expect-error explanation */} - - - - ); -} - -ReportScreenWrapper.displayName = 'ReportScreenWrapper'; - -export default ReportScreenWrapper;