Fixed direct call of deprecate React component