Reload page after review posting

This commit is contained in:
RailTH
2024-05-20 21:32:58 +11:00
parent c965d38425
commit 481be5e967
7 changed files with 9 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
{
"files": {
"main.css": "/static/css/main.a416014f.css",
"main.js": "/static/js/main.16df1775.js",
"main.js": "/static/js/main.62117073.js",
"static/media/scam-image.png": "/static/media/scam-image.c6c14289dc251ba2d2b1.png",
"static/media/info-page__railth-avatar.png": "/static/media/info-page__railth-avatar.cbf11c43b5ef243b38c0.png",
"static/media/add.webp": "/static/media/add.cd69f1e2a8c91109db0f.webp",
@@ -15,10 +15,10 @@
"static/media/rating__filled-star-icon.svg": "/static/media/rating__filled-star-icon.dc7d908d4d943b7f3b56.svg",
"index.html": "/index.html",
"main.a416014f.css.map": "/static/css/main.a416014f.css.map",
"main.16df1775.js.map": "/static/js/main.16df1775.js.map"
"main.62117073.js.map": "/static/js/main.62117073.js.map"
},
"entrypoints": [
"static/css/main.a416014f.css",
"static/js/main.16df1775.js"
"static/js/main.62117073.js"
]
}

View File

@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>SusMarket</title><link rel="manifest" href="/manifest.json"/><script defer="defer" src="/static/js/main.16df1775.js"></script><link href="/static/css/main.a416014f.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>SusMarket</title><link rel="manifest" href="/manifest.json"/><script defer="defer" src="/static/js/main.62117073.js"></script><link href="/static/css/main.a416014f.css" rel="stylesheet"></head><body><div id="root"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -69,6 +69,7 @@ export default function ReviewForm({ productId }: { productId: string }) {
}
});
alert("Отзыв успешно отправлен!");
window.location.reload();
} catch (error) {
console.error('Ошибка при отправке отзыва:', error);
}