From c60fd8f7bb33ce847774908a2a9eb76aee2773d2 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 27 Feb 2024 15:04:21 -0500 Subject: [PATCH] format changes --- src/lib/api.ts | 4 ++-- src/routes/+layout.svelte | 39 +++++++++++++++++++++++---------------- 2 files changed, 25 insertions(+), 18 deletions(-) diff --git a/src/lib/api.ts b/src/lib/api.ts index 8b181f40..5485d9b1 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -4,7 +4,7 @@ async function send({ method, path, token, - data, + data }: { method: string; path: string; @@ -13,7 +13,7 @@ async function send({ }) { const opts: { method: string; headers: { [key: string]: string }; body?: string } = { method, - headers: {}, + headers: {} }; if (data) { diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index c12d4afc..77827b75 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,16 +1,23 @@