There was an error while loading. Please reload this page.
1 parent 7a1de8b commit b11ee42Copy full SHA for b11ee42
1 file changed
packages/eds-core-react/src/components/next/Slot/Slot.tsx
@@ -48,9 +48,6 @@ export const Slot = forwardRef<HTMLElement, SlotProps>(function Slot(
48
ref,
49
) {
50
if (!isValidElement(children)) {
51
- if (process.env.NODE_ENV !== 'production') {
52
- console.warn('Slot: asChild requires a single valid React element child')
53
- }
54
return null
55
}
56
0 commit comments