mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-12 22:09:07 +02:00
remove theme button duplicate
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
import {title, family_tree} from '$lib/paraglide/messages.js';
|
||||
import { SvelteFlowProvider,Background, BackgroundVariant, SvelteFlow, Controls, MiniMap } from '@xyflow/svelte';
|
||||
import type { Node, Edge, NodeTypes, NodeProps } from '@xyflow/svelte';
|
||||
import ThemeButton from '$lib/theme-select.svelte';
|
||||
|
||||
let nodes = $state.raw<Node[]>([]);
|
||||
let edges = $state.raw<Edge[]>([]);
|
||||
@@ -12,10 +11,6 @@
|
||||
<title>{title({ page: family_tree() })}</title>
|
||||
</svelte:head>
|
||||
|
||||
<div class="absolute top-2 right-2">
|
||||
<ThemeButton />
|
||||
</div>
|
||||
|
||||
<div style="height:100vh;">
|
||||
<SvelteFlowProvider>
|
||||
<SvelteFlow bind:nodes bind:edges class="bg-base-100" fitView onlyRenderVisibleElements>
|
||||
@@ -24,3 +19,4 @@
|
||||
</SvelteFlow>
|
||||
</SvelteFlowProvider>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user