1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

chore: Remove unnecessary use of toSafeReactChildrenArray

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-05-10 10:16:48 -04:00
parent 58263497ae
commit 7b57f0d52d

View File

@ -4,7 +4,6 @@
*/ */
import type { StrictReactNode } from "@k8slens/utilities"; import type { StrictReactNode } from "@k8slens/utilities";
import { toSafeReactChildrenArray } from "@k8slens/utilities";
import type { HTMLAttributes } from "react"; import type { HTMLAttributes } from "react";
import React, { useState } from "react"; import React, { useState } from "react";
import { Menu } from "../menu"; import { Menu } from "../menu";
@ -34,7 +33,7 @@ export function Dropdown(props: DropdownProps) {
close={toggle} close={toggle}
open={toggle} open={toggle}
> >
{toSafeReactChildrenArray(children)} {children}
</Menu> </Menu>
</div> </div>
); );