mirror of
https://github.com/yawaflua/SusMarket.git
synced 2025-12-08 19:49:36 +02:00
Reload page after review posting
This commit is contained in:
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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
1
reactapp/build/static/js/main.62117073.js.map
Normal file
1
reactapp/build/static/js/main.62117073.js.map
Normal file
File diff suppressed because one or more lines are too long
@@ -69,6 +69,7 @@ export default function ReviewForm({ productId }: { productId: string }) {
|
||||
}
|
||||
});
|
||||
alert("Отзыв успешно отправлен!");
|
||||
window.location.reload();
|
||||
} catch (error) {
|
||||
console.error('Ошибка при отправке отзыва:', error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user