Skip to content

Commit 47957a1

Browse files
committed
move declaration of
1 parent 0498f4b commit 47957a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

frontend/src/lib/app-context.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ const createApiClient = (baseUrl: string) => {
3333
baseUrl,
3434
credentials: "include",
3535
});
36-
const $api = createClient(fetchClient);
3736
return {
3837
baseUrl,
39-
$api,
38+
$api: createClient(fetchClient),
4039

4140
async logout() {
4241
const form = document.createElement("form");

0 commit comments

Comments
 (0)