Skip to content

Commit

Permalink
0 - client - Avoid linter complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
ivicac committed Nov 14, 2024
1 parent 171339d commit 2d8e192
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions client/src/components/TagList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,14 @@ const TagList = ({getRequest, id, remainingTags, tags, updateTagsMutation}: TagL
value: tag.name.toLowerCase().replace(/\W/g, ''),
}))}
styles={{
control: (styles) => ({...styles, fontSize: '0.75rem', minHeight: '1.5rem', padding: '0'}),
dropdownIndicator: (styles) => ({...styles, padding: '0.2rem'}),
valueContainer: (styles) => ({...styles, padding: '0 0.4rem'}),
control: (styles: any) => ({
...styles,
fontSize: '0.75rem',
minHeight: '1.5rem',
padding: '0',
}),
dropdownIndicator: (styles: any) => ({...styles, padding: '0.2rem'}),
valueContainer: (styles: any) => ({...styles, padding: '0 0.4rem'}),
}}
/>

Expand Down

0 comments on commit 2d8e192

Please sign in to comment.