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