Skip to content

Commit

Permalink
For some reason Babel doesn't like this syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Feb 2, 2023
1 parent cc33070 commit dfef627
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react/src/ReactElementValidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import {setExtraStackFrame} from './ReactDebugCurrentFrame';
import {describeUnknownElementTypeFrameInDEV} from 'shared/ReactComponentStackFrame';
import hasOwnProperty from 'shared/hasOwnProperty';

const REACT_CLIENT_REFERENCE: symbol = Symbol.for('react.client.reference');
const REACT_CLIENT_REFERENCE = Symbol.for('react.client.reference');

function setCurrentlyValidatingElement(element) {
if (__DEV__) {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/jsx/ReactJSXElementValidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import ReactSharedInternals from 'shared/ReactSharedInternals';
const ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
const ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;

const REACT_CLIENT_REFERENCE: symbol = Symbol.for('react.client.reference');
const REACT_CLIENT_REFERENCE = Symbol.for('react.client.reference');

function setCurrentlyValidatingElement(element) {
if (__DEV__) {
Expand Down

0 comments on commit dfef627

Please sign in to comment.