Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 767da42

Browse files
Switched back to network canvas because I loose the tool tip otherwise
1 parent f1ed3a9 commit 767da42

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

components/Form.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from "react";
22
import { Octokit } from "@octokit/rest";
33
import styles from "./Form.module.css";
44
import { ResponsiveCalendar } from "@nivo/calendar";
5-
import { ResponsiveNetworkCanvas } from "@nivo/network";
5+
import { ResponsiveNetwork } from "@nivo/network";
66
import { ResponsivePie } from "@nivo/pie";
77
import { ResponsiveLineCanvas } from "@nivo/line";
88

@@ -406,7 +406,7 @@ class Form extends React.Component {
406406
Pinaqui's GitHub Account
407407
</option>
408408
<option value="yannick+account+repo">
409-
Yannick's Discord-10man
409+
Yannick's Discord-10man Repo
410410
</option>
411411
</select>
412412
)}
@@ -512,7 +512,7 @@ class Form extends React.Component {
512512
{this.state.nodes.length > 0 && !this.state.search_error && (
513513
<div className={styles.network_data}>
514514
<h4>User Followers Connections at 2 degrees</h4>
515-
<ResponsiveNetworkCanvas
515+
<ResponsiveNetwork
516516
nodes={this.state.nodes}
517517
links={this.state.links}
518518
margin={{ top: 0, right: 0, bottom: 0, left: 0 }}

0 commit comments

Comments
 (0)