mirror of
https://github.com/Zproger/Aurum.git
synced 2026-10-15 20:16:40 +07:00
Initial public release
Aurum — a self-hosted personal finance operating system: cash flow, net worth tracking, budgets, goals, recurring payments, reports, proactive alerts, and a compound-interest returns calculator, all bilingual (RU/EN) and mobile-first. Ships as a three-container Docker Compose stack (Postgres + FastAPI + nginx-served React frontend). See README.md for setup and CONTRIBUTING.md for development.
This commit is contained in:
6
frontend/src/hooks/useAdvice.ts
Normal file
6
frontend/src/hooks/useAdvice.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { useQuery } from "@tanstack/react-query";
|
||||
import { fetchAdvice } from "@/api/advice";
|
||||
|
||||
export function useAdvice() {
|
||||
return useQuery({ queryKey: ["advice"], queryFn: fetchAdvice });
|
||||
}
|
||||
Reference in New Issue
Block a user