KiDxS / GateKeeper

Documentation comments not found for functions and classes JS-D1001
Documentation
Minor
a year ago2 years old
Documentation comment not found for arrow function reportWebVitals
 1const reportWebVitals = onPerfEntry => { 2  if (onPerfEntry && onPerfEntry instanceof Function) {
 3    import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
 4      getCLS(onPerfEntry);
Documentation comment not found for arrow function ViewSSHKeypair
 15import { IoClipboard } from "react-icons/io5";
 16import { fetchData } from "../utils/fetchData";
 17
 18const ViewSSHKeypair = () => { 19    const { id } = useParams();
 20    const [pubKey, setPubKey] = useState();
 21    const [privKey, setPrivKey] = useState();
Documentation comment not found for arrow function fetchKeypair
 23    const [hasCopiedPubKey, setHasCopiedPubKey] = useState(false);
 24
 25    useEffect(() => {
 26        const fetchKeypair = async () => { 27            try {
 28                const url = `http://127.0.0.1:8080/api/v1/key/${id}`;
 29                const options = { withCredentials: true };
Documentation comment not found for arrow function fetchKeypairs
26
27// Dashboard page
28const Dashboard = () => {
29    const fetchKeypairs = async () => {30        try {
31            const options = { withCredentials: true };
32            const response = await fetchData(
Documentation comment not found for arrow function renderAlert
 34        error: useRef(false),
 35    };
 36
 37    const renderAlert = () => { 38        if (status.success.current === true) {
 39            return (
 40                <Alert status="success">