Merge pull request #4038 from overleaf/ae-move-use-debounce

Move useDebounce hook

GitOrigin-RevId: f047e279ca1694fc4fa68aa098d6608edefd20fe
This commit is contained in:
Alf Eaton 2021-05-14 09:25:40 +01:00 committed by Copybot
parent a82ccf9aec
commit d7b997e86c
2 changed files with 1 additions and 1 deletions

View file

@ -1,7 +1,7 @@
import React, { useEffect, useState } from 'react'
import { useTranslation } from 'react-i18next'
import PropTypes from 'prop-types'
import useDebounce from '../hooks/use-debounce'
import useDebounce from '../../../shared/hooks/use-debounce'
export default function SymbolPaletteSearch({ setInput, inputRef }) {
const [localInput, setLocalInput] = useState('')