Files
FamilyPlanner/frontend/src/state/ParentsLocal.js
philippe fdd72c1135 Initial commit: Family Planner application
Complete family planning application with:
- React frontend with TypeScript
- Node.js/Express backend with TypeScript
- Python ingestion service for document processing
- Planning ingestion service with LLM integration
- Shared UI components and type definitions
- OAuth integration for calendar synchronization
- Comprehensive documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-14 10:43:33 +02:00

14 lines
324 B
JavaScript

const STORAGE_KEY = "fp:parents";
export function loadParents() {
try {
const raw = localStorage.getItem(STORAGE_KEY);
return raw ? JSON.parse(raw) : [];
}
catch {
return [];
}
}
export function saveParents(parents) {
localStorage.setItem(STORAGE_KEY, JSON.stringify(parents));
}