Compare commits

..

No commits in common. "v0.1.0-develop.28" and "v0.1.0-develop.27" have entirely different histories.

4 changed files with 4 additions and 13 deletions

View File

@ -1,10 +1,3 @@
# [0.1.0-develop.28](https://git.lumeweb.com/LumeWeb/sdk/compare/v0.1.0-develop.27...v0.1.0-develop.28) (2023-10-12)
### Bug Fixes
* handling of children ([d886b6f](https://git.lumeweb.com/LumeWeb/sdk/commit/d886b6f2d075af654ea173c607521e81af8d7bd6))
# [0.1.0-develop.27](https://git.lumeweb.com/LumeWeb/sdk/compare/v0.1.0-develop.26...v0.1.0-develop.27) (2023-10-12)
# [0.1.0-develop.26](https://git.lumeweb.com/LumeWeb/sdk/compare/v0.1.0-develop.25...v0.1.0-develop.26) (2023-10-12)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/sdk",
"version": "0.1.0-develop.28",
"version": "0.1.0-develop.27",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/sdk",
"version": "0.1.0-develop.28",
"version": "0.1.0-develop.27",
"dependencies": {
"@lumeweb/kernel-network-registry-client": "0.1.0-develop.10",
"@lumeweb/libkernel": "0.1.0-develop.65",

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/sdk",
"version": "0.1.0-develop.28",
"version": "0.1.0-develop.27",
"type": "module",
"main": "lib/index.js",
"types": "lib/src/index.d.ts",

View File

@ -38,9 +38,7 @@ const LumeDashboard = (props: any) => {
</button>
</LumeDashboardTrigger>
);
const GivenTrigger = React.Children.toArray(
children?.children || (children as any) || [],
)
const GivenTrigger = React.Children.toArray(children.children)
.filter((c) => {
if (typeof c === "object") {
//@ts-expect-error -- I dont know what the type of this should be, i just know that this works