Skip to content

Commit

Permalink
chore: apply auto-fix changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jdrazong authored and github-actions[bot] committed Jul 25, 2023
1 parent 79895fa commit 60b2391
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions lib/src/components/combobox/ComboboxInput.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import * as React from 'react'

import { ComboboxInput as BaseComboboxInput } from '@reach/combobox'
import * as React from 'react'

import { styled, theme } from '~/stitches'
import { Override } from '~/utilities/types'
import { encodeBackgroundIcon } from '~/utilities'
import { Override } from '~/utilities/types'

Check warning on line 6 in lib/src/components/combobox/ComboboxInput.tsx

View workflow job for this annotation

GitHub Actions / auto-fix

'Override' is defined but never used

export const StyledComboboxInput = styled(BaseComboboxInput, {
boxShadow: 'none', // prevent default iOS default styling
Expand Down
2 changes: 1 addition & 1 deletion lib/src/components/date-input/DateInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import type { Props as DayzedInterface } from 'dayzed'
import * as React from 'react'

import { DIALOG_Z_INDEX } from '~/constants/zIndices'
import { getFieldIconSize } from '~/utilities'

import { ActionIcon } from '../action-icon/ActionIcon'
import { Box } from '../box/Box'
Expand All @@ -13,7 +14,6 @@ import { Input } from '../input/Input'
import { Popover } from '../popover/Popover'
import { DEFAULT_DATE_FORMAT } from './constants'
import { useDate } from './use-date'
import { getFieldIconSize } from '~/utilities'

export type DateInputProps = Omit<DayzedInterface, 'onDateSelected'> &
CalendarTranslationProps & {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/components/search-input/SearchInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { Box } from '~/components/box/'
import { Icon } from '~/components/icon/'
import { Input } from '~/components/input/'
import { CSS, styled } from '~/stitches'
import { useCallbackRef } from '~/utilities/hooks/useCallbackRef'
import { getFieldIconSize } from '~/utilities'
import { useCallbackRef } from '~/utilities/hooks/useCallbackRef'

export type SearchInputProps = React.ComponentProps<typeof Input> & {
size?: 'sm' | 'md' | 'lg'
Expand Down

0 comments on commit 60b2391

Please sign in to comment.