Skip to content

Commit

Permalink
[core] Sync React.version parse
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Sep 19, 2024
1 parent 4663ab4 commit 96dea1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages-internal/test-utils/src/reactMajor.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import * as React from 'react';

export default Number(React.version.split('.')[0]);
export default parseInt(React.version, 10);

0 comments on commit 96dea1b

Please sign in to comment.