bug: comparison view no longer an option
This commit is contained in:
parent
bfe6dcd00e
commit
2e49491ec1
|
@ -55,6 +55,7 @@ export function AdvancedOptions({
|
||||||
<button
|
<button
|
||||||
className={effectButtonStyle}
|
className={effectButtonStyle}
|
||||||
onClick={() => buttonToggles[i]()}
|
onClick={() => buttonToggles[i]()}
|
||||||
|
id={`advancedOptionsButton-${i}`}
|
||||||
>
|
>
|
||||||
{buttonName}
|
{buttonName}
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -10,7 +10,7 @@ import { pushToMongo } from "../lib/pushToMongo.js";
|
||||||
import { resolveToNumIfPossible } from "../lib/squiggle.js";
|
import { resolveToNumIfPossible } from "../lib/squiggle.js";
|
||||||
|
|
||||||
export function Homepage({ listOfElementsInit }) {
|
export function Homepage({ listOfElementsInit }) {
|
||||||
const SLICE = true;
|
const SLICE = false;
|
||||||
/* Statefull elements */
|
/* Statefull elements */
|
||||||
|
|
||||||
// list of elements
|
// list of elements
|
||||||
|
@ -136,6 +136,12 @@ export function Homepage({ listOfElementsInit }) {
|
||||||
{/* <Graph />
|
{/* <Graph />
|
||||||
|
|
||||||
*/}
|
*/}
|
||||||
|
<Graph
|
||||||
|
listOfElements={listOfElements}
|
||||||
|
links={links}
|
||||||
|
isListOrdered={isListOrdered}
|
||||||
|
mergeSortOrder={mergeSortOrder}
|
||||||
|
/>
|
||||||
|
|
||||||
{/* Advanced options section */}
|
{/* Advanced options section */}
|
||||||
<div>
|
<div>
|
||||||
|
@ -147,13 +153,6 @@ export function Homepage({ listOfElementsInit }) {
|
||||||
onChangeOfDataset={onChangeOfDataset}
|
onChangeOfDataset={onChangeOfDataset}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Graph
|
|
||||||
listOfElements={listOfElements}
|
|
||||||
links={links}
|
|
||||||
isListOrdered={isListOrdered}
|
|
||||||
mergeSortOrder={mergeSortOrder}
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,5 +27,5 @@ export async function getStaticProps() {
|
||||||
|
|
||||||
// Main react component
|
// Main react component
|
||||||
export default function Home({ listOfElementsForView }) {
|
export default function Home({ listOfElementsForView }) {
|
||||||
return <ComparisonView listOfElementsForView={listOfElementsForView} />;
|
return <Homepage listOfElementsForView={listOfElementsForView} />;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user