fix ESlint stuff

This commit is contained in:
Spectralitree 2021-02-06 19:46:13 +01:00
parent af01aa52b0
commit 3236348504

View File

@ -1,4 +1,4 @@
import React, { useEffect, useState, useRef } from 'react'; import React, { useEffect, useState } from 'react';
import { Link } from "react-router-dom"; import { Link } from "react-router-dom";
import * as BS from 'react-bootstrap' import * as BS from 'react-bootstrap'
import { useForm } from "react-hook-form"; import { useForm } from "react-hook-form";
@ -206,8 +206,6 @@ export default function MemberCard(props) {
}); });
} }
const didMount = useRef(false);
function copyLink() { function copyLink() {
var link = `https://spectralitree.github.io/pk-webs/profile/${sysID}/${member.id}` var link = `https://spectralitree.github.io/pk-webs/profile/${sysID}/${member.id}`
var textField = document.createElement('textarea') var textField = document.createElement('textarea')