diff --git a/code/addons/backgrounds/src/components/Tool.tsx b/code/addons/backgrounds/src/components/Tool.tsx index 150f461d63f4..15f7938d6224 100644 --- a/code/addons/backgrounds/src/components/Tool.tsx +++ b/code/addons/backgrounds/src/components/Tool.tsx @@ -1,4 +1,4 @@ -import React, { Fragment, memo, useCallback, useState } from 'react'; +import React, { memo, useCallback, useState } from 'react'; import { IconButton, TooltipLinkList, WithTooltip } from 'storybook/internal/components'; import { useGlobals, useParameter } from 'storybook/internal/manager-api'; @@ -128,7 +128,7 @@ const Pure = memo(function PureTool(props: PureProps) { onHide(); }, })), - ]} + ].flat()} /> ); }}