adding a nicer layout frame, setting up for pages

This commit is contained in:
Ginger Wong
2020-10-22 01:03:15 -07:00
parent 81e25d3540
commit 2b278c45e1
6 changed files with 26 additions and 66 deletions

View File

@@ -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) {