Files
flyer-crawler.projectium.com/src/contexts/UserDataContext.ts
Torben Sorensen 46c1e56b14
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 46s
progress enforcing adr-0005
2026-01-08 21:40:20 -08:00

13 lines
382 B
TypeScript

// src/contexts/UserDataContext.ts
import React from 'react';
import type { MasterGroceryItem, ShoppingList } from '../types';
export interface UserDataContextType {
watchedItems: MasterGroceryItem[];
shoppingLists: ShoppingList[];
isLoading: boolean;
error: string | null;
}
export const UserDataContext = React.createContext<UserDataContextType | undefined>(undefined);