bug fixes
This commit is contained in:
@@ -8,6 +8,7 @@ async function init() {
|
||||
try {
|
||||
const res = await fetch(`/api/book/${bookId}`);
|
||||
const data = await res.json();
|
||||
console.log(data)
|
||||
|
||||
if (data.error) {
|
||||
const titleEl = document.getElementById('title');
|
||||
|
||||
Reference in New Issue
Block a user