Skip to content

Commit

Permalink
feat: use data uri for card fallback image
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-smith-tcril committed Dec 6, 2024
1 parent 1b90fda commit 5f23498
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Card/CardFallbackDefaultImage.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Card/CardImageCap.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import classNames from 'classnames';
import Skeleton from 'react-loading-skeleton';
import CardContext from './CardContext';
import cardSrcFallbackImg from './fallback-default.png';
import { cardSrcFallbackImg } from './CardFallbackDefaultImage';

const SKELETON_HEIGHT_VALUE = 140;
const LOGO_SKELETON_HEIGHT_VALUE = 41;
Expand Down
Binary file removed src/Card/fallback-default.png
Binary file not shown.

0 comments on commit 5f23498

Please sign in to comment.