Skip to content

Commit

Permalink
fix cors issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalydosos committed Dec 20, 2024
1 parent 170e7e8 commit 7ba9f8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/EReceiptThumbnail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function EReceiptThumbnail({transaction, borderRadius, fileExtension, isReceiptT
const styles = useThemeStyles();
const StyleUtils = useStyleUtils();
const colorCode = isReceiptThumbnail ? StyleUtils.getFileExtensionColorCode(fileExtension) : StyleUtils.getEReceiptColorCode(transaction);

const backgroundImage = useMemo(() => backgroundImages[colorCode], [colorCode]);

const colorStyles = StyleUtils.getEReceiptColorStyles(colorCode);
Expand Down

0 comments on commit 7ba9f8a

Please sign in to comment.