Skip to content

Commit

Permalink
fix: linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
alaa-yahia committed Sep 2, 2024
1 parent e20053e commit 6a11cce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions components/chip/src/chip-group/chip-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 1 addition & 2 deletions components/chip/src/chip/chip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6a11cce

Please sign in to comment.