import React from 'react' ; import NextDataHooksContext from './next-data-hooks-context' ; /**
 * Injects the data from data hooks into React Context. Place this in `_app`
 */ function NextDataHooksProvider ( { nextDataHooks , children } ) { return ( < NextDataHooksContext . Provider value = { nextDataHooks } > { children } < /NextDataHooksContext.Provider>); } export default NextDataHooksProvider ;