From 6a11cced07d90b67b24f08193c3cf84a225d5467 Mon Sep 17 00:00:00 2001 From: alaa-yahia Date: Mon, 2 Sep 2024 23:43:32 +0300 Subject: [PATCH] fix: linter issues --- components/chip/src/chip-group/chip-group.js | 5 ++--- components/chip/src/chip/chip.js | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/components/chip/src/chip-group/chip-group.js b/components/chip/src/chip-group/chip-group.js index 7ae8b014e..d8b62458f 100644 --- a/components/chip/src/chip-group/chip-group.js +++ b/components/chip/src/chip-group/chip-group.js @@ -8,9 +8,8 @@ const ChipGroup = ({ className, dataTest, children }) => { useEffect(() => { if (chipContainer.current) { - const chips = chipContainer.current.querySelectorAll( - '[role="option"]' - ) + const chips = + chipContainer.current.querySelectorAll('[role="option"]') if (chips.length > 0) { const childrenToFocus = Array.from(chips) setChildrenToFocus(childrenToFocus) diff --git a/components/chip/src/chip/chip.js b/components/chip/src/chip/chip.js index b463c8de3..a8eaef83f 100644 --- a/components/chip/src/chip/chip.js +++ b/components/chip/src/chip/chip.js @@ -137,8 +137,7 @@ const Chip = ({ } :global(.chip.dragging) { - box-shadow: - 0 3px 1px -2px rgba(0, 0, 0, 0.2), + box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }