fix: app crash on qutebrowser
add a prop in numberformat options that was resulting in out of range error. also swapped 'replaceAll' with 'replace' https://github.com/zyachel/libremdb/issues/24
This commit is contained in:
@ -124,10 +124,7 @@ const Info = ({ info, className, router }: Props) => {
|
||||
{keywords.list.map(word => (
|
||||
<li className={styles.keywords__item} key={word}>
|
||||
<Link
|
||||
href={`/search/keyword/?keywords=${word.replaceAll(
|
||||
' ',
|
||||
'-'
|
||||
)}`}
|
||||
href={`/search/keyword/?keywords=${word.replace(/\s/g,'-')}`}
|
||||
>
|
||||
<a className='link'>{word}</a>
|
||||
</Link>
|
||||
|
Reference in New Issue
Block a user