File tree 1 file changed +1
-2
lines changed
src/pages/ReimbursementAccount/NonUSD/Finish
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { View } from 'react-native' ;
3
3
import { useOnyx } from 'react-native-onyx' ;
4
- import Button from '@components/Button' ;
5
4
import HeaderWithBackButton from '@components/HeaderWithBackButton' ;
6
5
import * as Expensicons from '@components/Icon/Expensicons' ;
7
6
import { ChatBubble } from '@components/Icon/Expensicons' ;
@@ -24,7 +23,7 @@ function Finish() {
24
23
const { translate} = useLocalize ( ) ;
25
24
const { shouldUseNarrowLayout} = useResponsiveLayout ( ) ;
26
25
27
- const [ reimbursementAccount ] = useOnyx ( ONYXKEYS . REIMBURSEMENT_ACCOUNT ) ;
26
+ const [ reimbursementAccount ] = useOnyx ( ONYXKEYS . REIMBURSEMENT_ACCOUNT , { canBeMissing : true } ) ;
28
27
const policyID = reimbursementAccount ?. achData ?. policyID ;
29
28
30
29
const handleBackButtonPress = ( ) => {
You can’t perform that action at this time.
0 commit comments