File size: 220 Bytes
1e92f2d | 1 2 3 4 5 6 | import { canCurrentUser } from 'calypso/state/selectors/can-current-user';
import getState from './get-state';
export default ( siteId: number, capability: string ) =>
canCurrentUser( getState(), siteId, capability );
|