import React, { createContext, useContext } from 'react'; const DesktopContext = createContext(null); export const DesktopProvider = ({ value, children }) => ( {children} ); export const useDesktopContext = () => { const context = useContext(DesktopContext); if (!context) { throw new Error('useDesktopContext must be used within a DesktopProvider'); } return context; }; export default DesktopContext;