Skip to content

Commit

Permalink
fill the dependency array in MoneyRequestCOnfirmationList
Browse files Browse the repository at this point in the history
  • Loading branch information
JKobrynski committed Feb 29, 2024
1 parent cc78940 commit c0f10cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MoneyRequestConfirmationList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ function MoneyRequestConfirmationList({
}

return typeof receiptData?.image === 'string' ? {uri: receiptData.image} : receiptData?.image;
}, []);
}, [receiptData?.thumbnail, receiptData?.image]);

return (
// @ts-expect-error TODO: Remove this once OptionsSelector (https://github.com/Expensify/App/issues/25125) is migrated to TypeScript.
Expand Down

0 comments on commit c0f10cd

Please sign in to comment.