style: apply fmt
This commit is contained in:
parent
910ae2ba2e
commit
314073ffc8
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue