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>
14 lines
324 B
JavaScript
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));
|
|
}
|