adding a nicer layout frame, setting up for pages
This commit is contained in:
@@ -50,7 +50,6 @@ export async function fetchData(url) {
|
||||
const message = `An error has occured: ${response.status}`;
|
||||
throw new Error(message);
|
||||
}
|
||||
|
||||
const json = await response.json();
|
||||
return json;
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user