feat: use negentropy (#182)

* feat: use negentropy

* chore: polish
This commit is contained in:
雨宮蓮
2024-04-24 10:18:51 +07:00
committed by GitHub
parent 174a3cc74e
commit f027eae52d
10 changed files with 121 additions and 133 deletions

View File

@@ -2,7 +2,13 @@ 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, Metadata, Settings } from "@lume/types";
import type {
Account,
Contact,
Interests,
Metadata,
Settings,
} from "@lume/types";
import { Spinner } from "@lume/ui";
import { type Descendant } from "slate";
@@ -22,6 +28,7 @@ interface RouterContext {
accounts?: Account[];
initialValue?: EditorElement[];
profile?: Metadata;
contacts?: Contact[];
}
export const Route = createRootRouteWithContext<RouterContext>()({