Browse Source

Fix img path in Card Component

Tatiana Inama 6 năm trước cách đây
mục cha
commit
00237f9576
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      recipes/src/components/Card/index.tsx

+ 1 - 1
recipes/src/components/Card/index.tsx

@@ -12,7 +12,7 @@ import '@material/react-button/dist/button.min.css';
 
 import './styles.scss';
 import sample_img from "./sample.png";
-const API: string = process.env.REACT_APP_API || '';
+const API: string = process.env.REACT_APP_IMG || '';
 
 type CBKCardProps = {
   withImg?: boolean,