add missing const

This commit is contained in:
Fred Boniface 2023-04-22 22:47:20 +01:00
parent a63e861162
commit 1e6b013507

View File

@ -48,7 +48,7 @@ async function insertData(json) {
} }
async function noData() { async function noData() {
msg = '<p>No results found</p>' const msg = '<p>No results found</p>'
document.getElementById('result-box').insertAdjacentHTML("beforeend", msg) document.getElementById('result-box').insertAdjacentHTML("beforeend", msg)
} }