|
@@ -1,5 +1,5 @@ |
|
1
|
|
-import React, { createContext, useContext, useReducer } from 'react'; |
|
1
|
+import { createContext, useContext, useReducer } from '@wordpress/element'; |
|
2
|
2
|
|
|
3
|
3
|
// Prepare a dataLayer |
|
4
|
4
|
export const StateContext = createContext(); |
|
5
|
5
|
|