File tree 2 files changed +3
-3
lines changed
client/state/data-layer/wpcom/me/block/sites/delete 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { registerHandlers } from 'calypso/state/data-layer/handler-registry';
6
6
import { bypassDataLayer } from 'calypso/state/data-layer/utils' ;
7
7
import { http } from 'calypso/state/data-layer/wpcom-http/actions' ;
8
8
import { dispatchRequest } from 'calypso/state/data-layer/wpcom-http/utils' ;
9
- import { errorNotice , plainNotice } from 'calypso/state/notices/actions' ;
9
+ import { errorNotice , successNotice } from 'calypso/state/notices/actions' ;
10
10
import { READER_SITE_UNBLOCK } from 'calypso/state/reader/action-types' ;
11
11
import { blockSite } from 'calypso/state/reader/site-blocks/actions' ;
12
12
@@ -31,7 +31,7 @@ export function fromApi( response ) {
31
31
}
32
32
33
33
export function receiveSiteUnblock ( ) {
34
- return plainNotice ( translate ( 'The site has been successfully unblocked.' ) , {
34
+ return successNotice ( translate ( 'The site has been successfully unblocked.' ) , {
35
35
duration : 5000 ,
36
36
} ) ;
37
37
}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ describe( 'site-blocks', () => {
27
27
expect ( dispatchedAction ) . toEqual (
28
28
expect . objectContaining ( {
29
29
notice : expect . objectContaining ( {
30
- status : 'is-plain ' ,
30
+ status : 'is-success ' ,
31
31
} ) ,
32
32
} )
33
33
) ;
You can’t perform that action at this time.
0 commit comments