mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #4038 from overleaf/ae-move-use-debounce
Move useDebounce hook GitOrigin-RevId: f047e279ca1694fc4fa68aa098d6608edefd20fe
This commit is contained in:
parent
a82ccf9aec
commit
d7b997e86c
2 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
import React, { useEffect, useState } from 'react'
|
import React, { useEffect, useState } from 'react'
|
||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import useDebounce from '../hooks/use-debounce'
|
import useDebounce from '../../../shared/hooks/use-debounce'
|
||||||
|
|
||||||
export default function SymbolPaletteSearch({ setInput, inputRef }) {
|
export default function SymbolPaletteSearch({ setInput, inputRef }) {
|
||||||
const [localInput, setLocalInput] = useState('')
|
const [localInput, setLocalInput] = useState('')
|
||||||
|
|
Loading…
Reference in a new issue