Skip to content

Commit

Permalink
expanded rows not initially expanded
Browse files Browse the repository at this point in the history
  • Loading branch information
GMILLA92 committed Jun 10, 2024
1 parent 055d729 commit 6f76ecd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function TableResultsIndividuals (props) {
const [showCrossQuery, setShowCrossQuery] = useState(false)
const [parameterCrossQuery, setParamCrossQuery] = useState('')
const [expandedRows, setExpandedRows] = useState(
Array.from({ length: props.beaconsList.length }, (_, index) => index)
new Array(props.beaconsList.length).fill(false)
)
const [currentPage, setCurrentPage] = useState(1)
const [rowsPerPage] = useState(10) // You can make this dynamic if needed
Expand Down

0 comments on commit 6f76ecd

Please sign in to comment.