Skip to content

Commit e827e40

Browse files
.
1 parent b3d1d26 commit e827e40

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/frontend/js/main.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ async function updateMenu() {
305305
<hr>
306306
<h3> Endereço </h3> <br>
307307
<div id="endereco-perfil"> </div> <br>
308-
309308
</div>
310309
</div>
311310
`;
@@ -324,8 +323,8 @@ async function carregarHistoricoPedidos() {
324323
form.addEventListener("submit", async (e) => {
325324
e.preventDefault();
326325

327-
var historyRequest = await fetch("/api/history/get.php");
328-
var historyResponse = await historyRequest.json();
326+
const historyRequest = await fetch("/api/history/get.php");
327+
const historyResponse = await historyRequest.json();
329328

330329
const elementModal = document.createElement("div");
331330
elementModal.innerHTML = `

0 commit comments

Comments
 (0)