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>
This commit is contained in:
13
frontend/src/state/ParentsLocal.js
Normal file
13
frontend/src/state/ParentsLocal.js
Normal file
@@ -0,0 +1,13 @@
|
||||
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));
|
||||
}
|
||||
Reference in New Issue
Block a user