react-code-dataset / wp-calypso /client /jetpack-cloud /sections /agency-dashboard /sites-overview /dashboard-data-context.ts
| import { createContext } from 'react'; | |
| import type { DashboardDataContextInterface } from './types'; | |
| const DashboardDataContext = createContext< DashboardDataContextInterface >( { | |
| verifiedContacts: { | |
| emails: [], | |
| phoneNumbers: [], | |
| refetchIfFailed: () => { | |
| return undefined; | |
| }, | |
| }, | |
| products: [], | |
| isLargeScreen: true, | |
| } ); | |
| export default DashboardDataContext; | |