wip: refactor compat check utils

This commit is contained in:
Evan You
2021-04-09 23:51:50 -04:00
parent 7a25cbb7a7
commit a2f441dc0e
8 changed files with 53 additions and 22 deletions

View File

@@ -106,7 +106,7 @@ const TransitionGroupImpl = {
if (
__COMPAT__ &&
!rawProps.tag &&
compatUtils.softAssertCompatEnabled(
compatUtils.checkCompatEnabled(
DeprecationTypes.TRANSITION_GROUP_ROOT,
instance.parent
)