КК
Size: a a a
КК
КК
AS
КК
OJ
PD
<img
alt=""
src="urlImage"
/>
S
D
S
PD
const DemoImage = ({ imageUrl }) => {
useEffect(() => {
async function fetchHeaders() {
try {
const response = await fetch(
imageUrl, {
credentials: "include",
},
);
console.log(response));
} catch (err) {
console.error("Image Fetch Error:\n", err);
}
}
fetchHeaders();
}, [imageUrl]);
return (
<ImageContainer>
<img
alt=""
src={imageUrl}
/>
</ImageContainer>
);
};
j
PD
j
j
{
AS
{
S
AS