reload site

This commit is contained in:
leoevgeniy 2023-12-08 01:57:42 +04:00
parent 709c6bd5c7
commit 764f79b2a8
2 changed files with 1 additions and 9 deletions

View File

@ -119,15 +119,6 @@
"director": "Джеймс Кэмерон", "director": "Джеймс Кэмерон",
"image": "", "image": "",
"id": 10 "id": 10
},
{
"itemsId": 2,
"name": "zxc",
"rating": "5",
"release_date": "2023-12-08",
"director": "тап",
"image": {},
"id": 12
} }
] ]
} }

View File

@ -82,5 +82,6 @@ export async function deleteLine(id) {
if (!response.ok) { if (!response.ok) {
throw response.statusText; throw response.statusText;
} }
window.location.reload(true);
return response.json(); return response.json();
} }