Finish vite migration
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-12-12 19:45:54 +01:00
parent 34efa48c3e
commit cef5d3c416
9 changed files with 6 additions and 917 deletions

View File

@ -31,7 +31,6 @@ import { SimpleFamilyTree } from "../../widgets/simple_family_tree/SimpleFamilyT
enum CurrTab {
BasicTree,
SimpleTree,
AdvancedTree,
}
enum TreeMode {
@ -148,7 +147,6 @@ export function FamilyMemberTreeRoute(): React.ReactElement {
>
<Tab tabIndex={CurrTab.BasicTree} label="Basique" />
<Tab tabIndex={CurrTab.SimpleTree} label="Simple" />
{/*<Tab tabIndex={CurrTab.AdvancedTree} label="Avancé" />*/}
</Tabs>
</div>
@ -156,14 +154,8 @@ export function FamilyMemberTreeRoute(): React.ReactElement {
<Paper style={{ flex: "1", display: "flex", flexDirection: "column" }}>
{currTab === CurrTab.BasicTree ? (
<BasicFamilyTree tree={tree!} depth={currDepth} />
) : currTab === CurrTab.SimpleTree ? (
<SimpleFamilyTree tree={tree!} depth={currDepth} />
) : (
<>unimplemented</> /*<ComplexFamilyTree
tree={tree!}
isUp={currMode === TreeMode.Ascending}
depth={currDepth}
/>*/
<SimpleFamilyTree tree={tree!} depth={currDepth} />
)}
</Paper>
</div>