File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import Navigation from '@libs/Navigation/Navigation';
1919import OnyxTabNavigator , { TabScreenWithFocusTrapWrapper , TopTab } from '@libs/Navigation/OnyxTabNavigator' ;
2020import { getIsUserSubmittedExpenseOrScannedReceipt } from '@libs/OptionsListUtils' ;
2121import Performance from '@libs/Performance' ;
22- import Permissions from '@libs/Permissions' ;
2322import { getPerDiemCustomUnit , getPerDiemCustomUnits , isUserInvitedToWorkspace } from '@libs/PolicyUtils' ;
2423import { getPayeeName } from '@libs/ReportUtils' ;
2524import AccessOrNotFoundWrapper from '@pages/workspace/AccessOrNotFoundWrapper' ;
@@ -143,7 +142,6 @@ function IOURequestStartPage({
143142 iouType !== CONST . IOU . TYPE . SPLIT && iouType !== CONST . IOU . TYPE . TRACK && ( ( ! isFromGlobalCreate && doesCurrentPolicyPerDiemExist ) || ( isFromGlobalCreate && doesPerDiemPolicyExist ) ) ;
144143
145144 const { isBetaEnabled} = usePermissions ( ) ;
146- const [ betas ] = useOnyx ( ONYXKEYS . BETAS , { canBeMissing : false } ) ;
147145 const setTestReceiptAndNavigateRef = useRef < ( ) => void > ( ) ;
148146 const { shouldShowProductTrainingTooltip, renderProductTrainingTooltip} = useProductTrainingContext (
149147 CONST . PRODUCT_TRAINING_TOOLTIP_NAMES . SCAN_TEST_TOOLTIP ,
@@ -157,7 +155,6 @@ function IOURequestStartPage({
157155 } ,
158156 } ,
159157 ) ;
160-
161158
162159 return (
163160 < AccessOrNotFoundWrapper
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ import PressableWithFeedback from '@components/Pressable/PressableWithFeedback';
2828import Text from '@components/Text' ;
2929import withCurrentUserPersonalDetails from '@components/withCurrentUserPersonalDetails' ;
3030import useLocalize from '@hooks/useLocalize' ;
31- import usePermissions from '@hooks/usePermissions' ;
3231import usePolicy from '@hooks/usePolicy' ;
3332import useTheme from '@hooks/useTheme' ;
3433import useThemeStyles from '@hooks/useThemeStyles' ;
@@ -96,7 +95,6 @@ function IOURequestStepScan({
9695 const device = useCameraDevice ( 'back' , {
9796 physicalDevices : [ 'wide-angle-camera' , 'ultra-wide-angle-camera' ] ,
9897 } ) ;
99- const { isBetaEnabled} = usePermissions ( ) ;
10098
10199 const isEditing = action === CONST . IOU . ACTION . EDIT ;
102100 const hasFlash = ! ! device ?. hasFlash ;
@@ -785,7 +783,7 @@ function IOURequestStepScan({
785783 src = { Hand }
786784 width = { CONST . RECEIPT . HAND_ICON_WIDTH }
787785 height = { CONST . RECEIPT . HAND_ICON_HEIGHT }
788- style = { styles . pb5 }
786+ style = { styles . pb5 }
789787 />
790788
791789 < Text style = { [ styles . textFileUpload ] } > { translate ( 'receipt.takePhoto' ) } </ Text >
Original file line number Diff line number Diff line change @@ -148,7 +148,6 @@ function IOURequestStepScan({
148148 const transactionTaxCode = ( initialTransaction ?. taxCode ? initialTransaction ?. taxCode : defaultTaxCode ) ?? '' ;
149149 const transactionTaxAmount = initialTransaction ?. taxAmount ?? 0 ;
150150
151-
152151 const blinkOpacity = useSharedValue ( 0 ) ;
153152 const blinkStyle = useAnimatedStyle ( ( ) => ( {
154153 opacity : blinkOpacity . get ( ) ,
You can’t perform that action at this time.
0 commit comments