diff --git a/quartz/components/Graph.tsx b/quartz/components/Graph.tsx index d8ec6e5..0c54bdb 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 (