import React from 'react'; interface AppTitleContextType { appTitle: string; } const AppTitleContext = React.createContext(undefined); interface AppTitleProviderProps { appTitle: string; children: React.ReactNode; } export function AppTitleProvider({appTitle, children}: AppTitleProviderProps) { return {children}; } export function useAppTitle(): AppTitleContextType { const context = React.useContext(AppTitleContext); if (context === undefined) { throw new Error('useAppTitle must be used within an AppTitleProvider'); } return context; }