chore: Remove unnecessary use of toSafeReactChildrenArray

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-05-12 14:14:39 -04:00
1 parent cc9c246b65
commit 0cc7303751
1 file changed
+1 -2
@@ -4,7 +4,6 @@
*/
import type { StrictReactNode } from "@k8slens/utilities";
import { toSafeReactChildrenArray } from "@k8slens/utilities";
import type { HTMLAttributes } from "react";
import React, { useState } from "react";
import { Menu } from "../menu";
@@ -34,7 +33,7 @@ export function Dropdown(props: DropdownProps) {
close={toggle}
open={toggle}
>
{toSafeReactChildrenArray(children)}
{children}
</Menu>
</div>
);