import axios from 'axios'; import { CSSProperties, useEffect, useState } from 'react'; function IssueTag(props: { data: any; }) { return
{props.data.name}
; } function Issue(props: { data: any; }) { return

#{props.data.number} {props.data.title}

{props.data.labels.map((label: any) => )}
; } export function IssueList() { var [githubIssues, setGithubIssues] = useState(); useEffect(() => { (async () => { var githubIssuesRequest = await axios.request({ url: 'https://api.github.com/repos/lonkaars/connect-4/issues?state=open', }); setGithubIssues(githubIssuesRequest.data.filter((issue: any) => issue.milestone?.id == 6663987)); })(); }, []); return
{githubIssues?.map(issue => )}
; }