Skip to content

Commit

Permalink
Merge pull request #79 from osstotalsoft/fix-debounced-callback-import
Browse files Browse the repository at this point in the history
Fixed useDebouncedCallback import with relative path
  • Loading branch information
st-angelo authored Oct 31, 2023
2 parents fc08ee8 + 508124f commit 57e8a36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/inputs/Slider/Slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useCallback, useLayoutEffect, useState } from 'react'
import PropTypes from 'prop-types'
import { StyledSlider, StyledTextField, FormControl, FormHelperText } from './SliderStyles'
import { SliderColor, SliderProps } from './types'
import useDebouncedCallback from 'hooks/useDebouncedCallback'
import useDebouncedCallback from '../../../hooks/useDebouncedCallback'

/**
* Sliders allow users to make selections from a range of values.
Expand Down
2 changes: 1 addition & 1 deletion src/components/inputs/TextField/TextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import CloseIcon from '@mui/icons-material/Close'
import { is, isNil } from 'ramda'
import i18n from 'i18next'
import { AddButtonProps, ClearButtonProps, NumberTextFieldProps, SubtractButtonProps, TextFieldProps } from './types'
import useDebouncedCallback from 'hooks/useDebouncedCallback'
import useDebouncedCallback from '../../../hooks/useDebouncedCallback'

const NumberTextField = React.forwardRef<HTMLElement, NumberTextFieldProps>(function NumberFormatCustom(props, ref) {
const {
Expand Down

0 comments on commit 57e8a36

Please sign in to comment.