Fix export functionality on Analytic pages (#33709)
* Import correct controls * Add changelog * Add changelog
This commit is contained in:
parent
6a8f124022
commit
76f9a1fc57
|
@ -0,0 +1,4 @@
|
|||
Significance: fix
|
||||
Type: minor
|
||||
|
||||
Fix 'Cannot read properties of undefined' error when clicking Export button on Analytic pages.
|
|
@ -2,7 +2,6 @@
|
|||
* External dependencies
|
||||
*/
|
||||
import { registerStore } from '@wordpress/data';
|
||||
import { controls } from '@wordpress/data-controls';
|
||||
import { SelectFromMap, DispatchFromMap } from '@automattic/data-stores';
|
||||
import { Reducer, AnyAction } from 'redux';
|
||||
/**
|
||||
|
@ -13,6 +12,7 @@ import * as selectors from './selectors';
|
|||
import * as actions from './actions';
|
||||
import reducer, { State } from './reducer';
|
||||
import { WPDataSelectors } from '../types';
|
||||
import controls from '../controls';
|
||||
export * from './types';
|
||||
export type { State };
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Import correct controls for export function
|
Loading…
Reference in New Issue