Skip to content

Commit

Permalink
fix: switch fallback export to ES6
Browse files Browse the repository at this point in the history
  • Loading branch information
ludanxer committed Feb 17, 2020
1 parent 57e737f commit 5abc527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/graph/fallback.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
* Default options for configuration
*/

module.exports = {
export default {
node: {
color: d => d.isLeaf() ? '#3EAF7C': '#C28229',
color: d => GoTColor(d),
dblclick: (d, router) => router.push(d.regularPath),
title: d => d.title,
radius: 6,
Expand Down

0 comments on commit 5abc527

Please # to comment.