mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2025-02-05 21:18:11 +00:00
Merge pull request #20 from Fluffy-Bean/deepsource-transform-4e98892e
style: format code with Prettier
This commit is contained in:
commit
0deee90bf9
|
@ -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