tangled
alpha
login
or
join now
roost.moe
/
recipes.blue
2
fork
atom
The recipes.blue monorepo
recipes.blue
recipes
appview
atproto
2
fork
atom
overview
issues
1
pulls
pipelines
fix: cleanup
Hayden Young
3 months ago
b0b2534f
468c86c2
+2
-4
3 changed files
expand all
collapse all
unified
split
apps
app
app
(app)
home
page.tsx
components
app-sidebar
nav-auth.tsx
nav-main.tsx
+2
-1
apps/app/app/(app)/home/page.tsx
···
2
2
import { dehydrate, HydrationBoundary, QueryClient } from "@tanstack/react-query";
3
3
import { Home } from "./home";
4
4
import { Client, simpleFetchHandler } from "@atcute/client";
5
5
+
import { COOKWARE_API_URL } from "@/lib/consts";
5
6
6
7
export default async function HomeRoute() {
7
8
const queryClient = new QueryClient();
8
9
await queryClient.prefetchQuery(getRecipesOptions(new Client({
9
9
-
handler: simpleFetchHandler({ service: 'http://localhost:4000' }),
10
10
+
handler: simpleFetchHandler({ service: COOKWARE_API_URL }),
10
11
})));
11
12
12
13
return (
-2
apps/app/components/app-sidebar/nav-auth.tsx
···
54
54
</SidebarMenu>
55
55
);
56
56
}
57
57
-
58
58
-
59
57
}
-1
apps/app/components/app-sidebar/nav-main.tsx
···
2
2
import { Button } from "../ui/button";
3
3
import { SidebarGroup, SidebarGroupContent, SidebarMenu, SidebarMenuButton, SidebarMenuItem } from "../ui/sidebar";
4
4
import Link from "next/link";
5
5
-
import { Input } from "../ui/input";
6
5
import { InputGroup, InputGroupAddon, InputGroupInput } from "../ui/input-group";
7
6
8
7
const items = [