File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
client/dashboard/sites/add-new-site Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ import {
8
8
Button ,
9
9
} from '@wordpress/components' ;
10
10
import { useViewportMatch } from '@wordpress/compose' ;
11
- import { useDispatch } from '@wordpress/data' ;
12
11
import { __ , sprintf } from '@wordpress/i18n' ;
13
12
import { download , reusableBlock , Icon } from '@wordpress/icons' ;
14
13
import devSiteBanner from 'calypso/assets/images/a8c-for-agencies/dev-site-banner.svg' ;
14
+ import { useShowHelpCenter } from 'calypso/components/help-center' ; // eslint-disable-line no-restricted-imports
15
15
import Column from './column' ;
16
16
import MenuItem from './menu-item' ;
17
17
import type { AddNewSiteProps } from './types' ;
@@ -56,7 +56,8 @@ function AddNewSite( { context }: AddNewSiteProps ) {
56
56
numberFormatOptions : { style : 'percent' } ,
57
57
} )
58
58
) ;
59
- const { setShowHelpCenter } = useDispatch ( 'automattic/help-center' ) ;
59
+
60
+ const { setShowHelpCenter } = useShowHelpCenter ( ) ;
60
61
61
62
return (
62
63
< Wrapper alignment = "flex-start" style = { { padding : '16px' } } spacing = { 6 } >
You can’t perform that action at this time.
0 commit comments