LaisFSGomes / biblioteca

Inconsistent use of the radix argument when using parseInt() JS-0101
Bug risk
Minor
2 occurrences in this check
Missing radix parameter
 9
10  return(  
11    filtro?.map((item) => (
12      <div className='item' key={parseInt(item.objectID)}>13        <Book item = {item} />
14      </div>
15    ))
Missing radix parameter
 1import './style.css';
 2const Book = (props) => {
 3  return (
 4    <div className='item' key={parseInt(props.item?.objectID)}> 5      <h2>{props.item?.title}</h2>
 6      <h3> {props.item?.author || 'Sem Autor'} </h3>
 7      <h3><a href={props.item?.url || ''}> {'Saiba Mais' || 'Sem Link'} </a></h3>