remove unnecessary variable comparation (#18598)
remove unnecessary variable comparation (#18598)

Since it will continue when the props are equal in line 767, there is no need to compare whether they are not equal.
facebook/react,trueadm/react,ericyang321/react,chicoxyzzy/react,billfeller/react,facebook/react,tomocchino/react,tomocchino/react,chicoxyzzy/react,chicoxyzzy/react,terminatorheart/react,terminatorheart/react,billfeller/react,facebook/react,glenjamin/react,yungsters/react,ArunTesco/react,camsong/react,acdlite/react,terminatorheart/react,ericyang321/react,tomocchino/react,billfeller/react,camsong/react,yungsters/react,acdlite/react,tomocchino/react,camsong/react,trueadm/react,mosoft521/react,trueadm/react,glenjamin/react,tomocchino/react,ericyang321/react,terminatorheart/react,ArunTesco/react,mosoft521/react,trueadm/react,ericyang321/react,yungsters/react,billfeller/react,mosoft521/react,camsong/react,cpojer/react,cpojer/react,trueadm/react,camsong/react,trueadm/react,cpojer/react,yungsters/react,trueadm/react,acdlite/react,facebook/react,chicoxyzzy/react,yungsters/react,cpojer/react,billfeller/react,terminatorheart/react,chicoxyzzy/react,chicoxyzzy/react,tomocchino/react,ArunTesco/react,camsong/react,cpojer/react,mosoft521/react,facebook/react,facebook/react,terminatorheart/react,cpojer/react,cpojer/react,acdlite/react,glenjamin/react,glenjamin/react,mosoft521/react,camsong/react,glenjamin/react,ericyang321/react,mosoft521/react,billfeller/react,ericyang321/react,acdlite/react,chicoxyzzy/react,ericyang321/react,glenjamin/react,glenjamin/react,mosoft521/react,acdlite/react,yungsters/react,acdlite/react,facebook/react,billfeller/react,yungsters/react,tomocchino/react