// 1. if warning is caused by Modal component of ANTD library: <Modal transitionName="" maskTransitionName="" /> // add both of these in Modal Component properties