From 508124ffffbfae0b1a67254b752dc5af5c689d02 Mon Sep 17 00:00:00 2001 From: Angelo Statescu Date: Tue, 31 Oct 2023 12:51:01 +0200 Subject: [PATCH] Fixed useDebouncedCallback import with relative path --- src/components/inputs/Slider/Slider.tsx | 2 +- src/components/inputs/TextField/TextField.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/inputs/Slider/Slider.tsx b/src/components/inputs/Slider/Slider.tsx index ac19e0f2..e06f93ce 100644 --- a/src/components/inputs/Slider/Slider.tsx +++ b/src/components/inputs/Slider/Slider.tsx @@ -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. diff --git a/src/components/inputs/TextField/TextField.tsx b/src/components/inputs/TextField/TextField.tsx index 39d77ce1..3b766db3 100644 --- a/src/components/inputs/TextField/TextField.tsx +++ b/src/components/inputs/TextField/TextField.tsx @@ -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(function NumberFormatCustom(props, ref) { const {