style: apply fmt

This commit is contained in:
Julien Oculi 2024-01-23 14:43:47 +01:00
parent 910ae2ba2e
commit 314073ffc8
2 changed files with 2 additions and 3 deletions

View file

@ -22,7 +22,6 @@ export function DbGraph({ db }: { db: DbEntry[] }) {
* @param graph - Container html reference. * @param graph - Container html reference.
*/ */
function drawDb({ db, graph }: { db: DbEntry[]; graph: Ref<HTMLDivElement> }) { function drawDb({ db, graph }: { db: DbEntry[]; graph: Ref<HTMLDivElement> }) {
//Convert db entries to "vis-network" nodes //Convert db entries to "vis-network" nodes
const nodes = db.map(({ id, title, links }) => ({ const nodes = db.map(({ id, title, links }) => ({
id, id,