Merge pull request #20 from Fluffy-Bean/deepsource-transform-4e98892e

style: format code with Prettier
This commit is contained in:
Michał 2024-05-13 12:20:21 +01:00 committed by GitHub
commit 0deee90bf9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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