We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3d1d26 commit e827e40Copy full SHA for e827e40
1 file changed
src/frontend/js/main.js
@@ -305,7 +305,6 @@ async function updateMenu() {
305
<hr>
306
<h3> Endereço </h3> <br>
307
<div id="endereco-perfil"> </div> <br>
308
-
309
</div>
310
311
`;
@@ -324,8 +323,8 @@ async function carregarHistoricoPedidos() {
324
323
form.addEventListener("submit", async (e) => {
325
e.preventDefault();
326
327
- var historyRequest = await fetch("/api/history/get.php");
328
- var historyResponse = await historyRequest.json();
+ const historyRequest = await fetch("/api/history/get.php");
+ const historyResponse = await historyRequest.json();
329
330
const elementModal = document.createElement("div");
331
elementModal.innerHTML = `
0 commit comments