Specify empty array as hasFinishedResolution args.
This is to make things consistent with invalidateResolution to make things work with WP 5.9.
This commit is contained in:
parent
5a58784a62
commit
0316fbb265
|
@ -40,7 +40,7 @@ export const useRecommendedChannels = (): UseRecommendedChannels => {
|
|||
} );
|
||||
|
||||
return {
|
||||
loading: ! hasFinishedResolution( 'getRecommendedChannels' ),
|
||||
loading: ! hasFinishedResolution( 'getRecommendedChannels', [] ),
|
||||
data: nonActiveRecommendedChannels,
|
||||
error,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue