mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
fix: recent search link
This commit is contained in:
parent
43a20244f6
commit
0ec515b8d3
@ -148,7 +148,7 @@ const Search = (): JSX.Element => {
|
|||||||
</li>
|
</li>
|
||||||
{
|
{
|
||||||
recentSearch.slice(0, 10).map((el, n) => (
|
recentSearch.slice(0, 10).map((el, n) => (
|
||||||
<Link key={n} href={`/search?q=${encodeURIComponent(el)}`}>
|
<Link key={n} href={`/search?q=${encodeURIComponent(el?.value)}`}>
|
||||||
<li className='h-15 px-3 py-2 cursor-pointer'>
|
<li className='h-15 px-3 py-2 cursor-pointer'>
|
||||||
<i className='fas fa-history' /> {el?.value}
|
<i className='fas fa-history' /> {el?.value}
|
||||||
<span className='absolute right-0 pr-10 text-gray-400 text-sm'>
|
<span className='absolute right-0 pr-10 text-gray-400 text-sm'>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user