feat: finish settings screen

This commit is contained in:
2024-04-16 15:28:38 +07:00
parent 2eb2010d43
commit 413d8d82df
13 changed files with 461 additions and 61 deletions

View File

@@ -2,7 +2,7 @@ import { Outlet, createRootRouteWithContext } from "@tanstack/react-router";
import { type Ark } from "@lume/ark";
import { type QueryClient } from "@tanstack/react-query";
import { type Platform } from "@tauri-apps/plugin-os";
import type { Account, Interests, Settings } from "@lume/types";
import type { Account, Interests, Metadata, Settings } from "@lume/types";
import { Spinner } from "@lume/ui";
import { type Descendant } from "slate";
@@ -21,6 +21,7 @@ interface RouterContext {
interests?: Interests;
accounts?: Account[];
initialValue?: EditorElement[];
profile?: Metadata;
}
export const Route = createRootRouteWithContext<RouterContext>()({