mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2024-12-26 17:36:15 +00:00
style: format code with Prettier
This commit fixes the style issues introduced in 8dd6fda
according to the output
from Prettier.
Details: None
This commit is contained in:
parent
8dd6fdaa15
commit
437622fe88
|
@ -4,7 +4,7 @@ import TestData from "./test-data";
|
|||
const API_URL = "http://127.0.0.1:8080";
|
||||
|
||||
export async function getPopularToday(): Promise<Item[]> {
|
||||
const response = await fetch( `${API_URL}/api/items`);
|
||||
const response = await fetch(`${API_URL}/api/items`);
|
||||
const { data, error }: JSONResponse = await response.json();
|
||||
|
||||
if (response.ok) {
|
||||
|
|
Loading…
Reference in a new issue