From 8e52dde7dcc1f35d851432d707b1f4b863b67b50 Mon Sep 17 00:00:00 2001 From: Mavrik Date: Fri, 14 Jul 2023 08:55:00 +0200 Subject: [PATCH] code review --- src/components/DropDown/DropDown.tsx | 6 +----- src/hooks/__tests__/useDeviceDiagnostics.spec.ts | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/DropDown/DropDown.tsx b/src/components/DropDown/DropDown.tsx index af7f5b1c..8e50080a 100644 --- a/src/components/DropDown/DropDown.tsx +++ b/src/components/DropDown/DropDown.tsx @@ -15,8 +15,6 @@ const DropDown: FC = ({ className = '', position = 'top-full left-0 z-50', }) => { - const isChildrenArray = Array.isArray(children) - return (