Skip to content

Commit

Permalink
comment out experimental table. only delay clusters on scope change
Browse files Browse the repository at this point in the history
  • Loading branch information
enjalot committed Mar 29, 2024
1 parent 76a8be8 commit 138a545
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions web/src/pages/Explore.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ function Explore() {
}, [datasetId, setScopes]);


const [delay, setDelay] = useState(200)
const [scope, setScope] = useState(null);
useEffect(() => {
fetch(`${apiUrl}/datasets/${datasetId}/scopes/${scopeId}`)
Expand Down Expand Up @@ -398,6 +399,7 @@ function Explore() {

<select className="scope-selector" onChange={(e) => {
clearScope()
setDelay(2000)
navigate(`/datasets/${dataset?.id}/explore/${e.target.value}`)
}}>

Expand Down Expand Up @@ -464,7 +466,7 @@ function Explore() {
hulls={hulls}
stroke="black"
fill="none"
delay={2000}
delay={delay}
duration={200}
strokeWidth={1}
xDomain={xDomain}
Expand Down Expand Up @@ -567,12 +569,12 @@ function Explore() {
/>
: null}

<FilterDataTable
{/* <FilterDataTable
dataset={dataset}
indices={selectedIndices}
clusterIndices={clusterIndices}
clusterLabels={clusterLabels}
/>
/> */}

</div>
: null}
Expand Down

0 comments on commit 138a545

Please sign in to comment.