From 39158a2ef6e65d30985735d5f156fc5a8ca37bbe Mon Sep 17 00:00:00 2001 From: "Tomoya Matsuura(MacBookPro)" Date: Mon, 21 Aug 2023 19:52:57 +0900 Subject: [PATCH] fixed priority in graph option --- quartz/components/Graph.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quartz/components/Graph.tsx b/quartz/components/Graph.tsx index d8ec6e55..0c54bdb4 100644 --- a/quartz/components/Graph.tsx +++ b/quartz/components/Graph.tsx @@ -47,8 +47,8 @@ const defaultOptions: GraphOptions = { export default ((opts?: GraphOptions) => { function Graph() { - const localGraph = { ...opts?.localGraph, ...defaultOptions.localGraph } - const globalGraph = { ...opts?.globalGraph, ...defaultOptions.globalGraph } + const localGraph = { ...defaultOptions.localGraph, ...opts?.localGraph, } + const globalGraph = { ...defaultOptions.globalGraph, ...opts?.globalGraph, } return (

Graph View