inertia icon indicating copy to clipboard operation
inertia copied to clipboard

Fix 'received an unexpected slot "default"' warning

Open pedroborges opened this issue 6 months ago • 0 comments

This PR fixes the <Render /> component by checking for children components before attempting to pass the default slot to the rendered component.

Closes #1785.

Before

Screen Shot 2024-08-12 at 21 17 34

After

Screen Shot 2024-08-12 at 21 18 08

pedroborges avatar Aug 13 '24 00:08 pedroborges