This commit is contained in:
MartinBraquet
2025-07-31 00:08:00 +02:00
parent aaeb0b5418
commit cdb8c79033

View File

@@ -18,6 +18,7 @@ export default function Post() {
useEffect(() => {
async function fetchImage() {
const res = await fetch(`/api/profiles/${id}`);
console.log('res', res);
if (res.ok) {
const data = await res.json();
setUser(data);