Skip to content

Commit

Permalink
Temporarily disable derpecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Sep 14, 2022
1 parent cd2ac50 commit 88a98e4
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions packages/components/src/popover/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,27 +229,27 @@ const UnforwardedPopover = (
}

if ( anchorRef !== undefined ) {
deprecated( '`anchorRef` prop in Popover component', {
since: '6.1',
version: '6.3',
alternative: '`anchor` prop',
} );
// deprecated( '`anchorRef` prop in Popover component', {
// since: '6.1',
// version: '6.3',
// alternative: '`anchor` prop',
// } );
}

if ( anchorRect !== undefined ) {
deprecated( '`anchorRect` prop in Popover component', {
since: '6.1',
version: '6.3',
alternative: '`anchor` prop',
} );
// deprecated( '`anchorRect` prop in Popover component', {
// since: '6.1',
// version: '6.3',
// alternative: '`anchor` prop',
// } );
}

if ( getAnchorRect !== undefined ) {
deprecated( '`getAnchorRect` prop in Popover component', {
since: '6.1',
version: '6.3',
alternative: '`anchor` prop',
} );
// deprecated( '`getAnchorRect` prop in Popover component', {
// since: '6.1',
// version: '6.3',
// alternative: '`anchor` prop',
// } );
}

const arrowRef = useRef( null );
Expand Down

0 comments on commit 88a98e4

Please sign in to comment.