From 3236348504d9893a13ae28180c2cdf2f895ca229 Mon Sep 17 00:00:00 2001 From: Spectralitree Date: Sat, 6 Feb 2021 19:46:13 +0100 Subject: [PATCH] fix ESlint stuff --- src/Components/MemberCard.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Components/MemberCard.js b/src/Components/MemberCard.js index 071ce083..1e7ff5d1 100644 --- a/src/Components/MemberCard.js +++ b/src/Components/MemberCard.js @@ -1,4 +1,4 @@ -import React, { useEffect, useState, useRef } from 'react'; +import React, { useEffect, useState } from 'react'; import { Link } from "react-router-dom"; import * as BS from 'react-bootstrap' import { useForm } from "react-hook-form"; @@ -206,8 +206,6 @@ export default function MemberCard(props) { }); } - const didMount = useRef(false); - function copyLink() { var link = `https://spectralitree.github.io/pk-webs/profile/${sysID}/${member.id}` var textField = document.createElement('textarea')