From 6536abefe62d018367bff59cb8e0e872ac0da485 Mon Sep 17 00:00:00 2001 From: Krittin SETDHAVANICH Date: Sun, 16 Jul 2023 14:47:07 +0700 Subject: [PATCH] Update Problem img --- src/components/Problems.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/Problems.jsx b/src/components/Problems.jsx index 85138e1..f049949 100644 --- a/src/components/Problems.jsx +++ b/src/components/Problems.jsx @@ -16,7 +16,8 @@ import { SectionWrapper } from '../hoc'; import Cookies from 'js-cookie'; import Preproblems from "./Preproblems.jsx"; -export const ThemeContext = createContext(null); + +// export const ThemeContext = createContext(null); const CardItem = ({ card }) => { const [checked, setChecked] = useState(false); @@ -50,7 +51,7 @@ const CardItem = ({ card }) => { pt: '56.25%', height: 0, }} - image={myimage} + image={card.img} /> {
{cards.map((card) => ( - + ))}