feat(ui): günlük plan kartı, gelir planı bölümü ve dashboard özet kartları
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { getDailyPlan } from "../plan";
|
||||
import { DailyPlanView } from "./daily-plan-view";
|
||||
|
||||
/** Dashboard günlük plan kartı (sunucu): veriyi yükler, görünümü istemciye verir. */
|
||||
export async function DailyPlanCard({
|
||||
userId,
|
||||
householdId,
|
||||
}: {
|
||||
userId: string;
|
||||
householdId: string;
|
||||
}) {
|
||||
const data = await getDailyPlan(userId, householdId);
|
||||
if (!data) return null;
|
||||
return <DailyPlanView data={data} />;
|
||||
}
|
||||
Reference in New Issue
Block a user