Skip to content

Commit 1aa9d9e

Browse files
committed
fixup! fixup! fixup! fixup! fixup! Fix misplaced Popover when using Floating UI (#566)
1 parent 8f8b5d6 commit 1aa9d9e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/components/Popover/_helpers/cleanPlacementStyle.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@ export default (placementStyle) => {
1414
'transform-origin',
1515
];
1616

17-
if (process.env.NODE_ENV !== 'production') {
18-
const invalidProps = Object.keys(placementStyle).filter((prop) => !validProps.includes(prop));
19-
20-
if (invalidProps.length > 0) {
21-
// eslint-disable-next-line no-console
22-
console.error(`Invalid prop(s) supplied to the "placementStyle" prop: "${invalidProps.join('", "')}"`);
23-
}
24-
}
25-
2617
return Object.fromEntries(
2718
Object.entries(placementStyle).filter(([prop]) => validProps.includes(prop)),
2819
);

0 commit comments

Comments
 (0)