From 314073ffc8b0f6526e267d7562f7381bad3c0c9e Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Tue, 23 Jan 2024 14:43:47 +0100 Subject: [PATCH] style: apply fmt --- client/app.tsx | 4 ++-- client/db_graph.tsx | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/client/app.tsx b/client/app.tsx index 7fc5387..08ac2da 100644 --- a/client/app.tsx +++ b/client/app.tsx @@ -12,8 +12,8 @@ import { siteDb } from './site_db_manual.ts' export function App() { return (
-

Live example

- +

Live example

+
) } diff --git a/client/db_graph.tsx b/client/db_graph.tsx index f6bb2a9..3ece854 100644 --- a/client/db_graph.tsx +++ b/client/db_graph.tsx @@ -22,7 +22,6 @@ export function DbGraph({ db }: { db: DbEntry[] }) { * @param graph - Container html reference. */ function drawDb({ db, graph }: { db: DbEntry[]; graph: Ref }) { - //Convert db entries to "vis-network" nodes const nodes = db.map(({ id, title, links }) => ({ id,