diff --git a/src/components/CtaPopover.tsx b/src/components/CtaPopover.tsx index affed32..d3114a5 100644 --- a/src/components/CtaPopover.tsx +++ b/src/components/CtaPopover.tsx @@ -11,6 +11,7 @@ export default function CtaPopover(): ReactElement useEffect(() => { // We have to open it manually, otherwise it struggles to find the target anchor + // eslint-disable-next-line react-hooks/set-state-in-effect setCtaOpen(true); }, []); diff --git a/src/pages/StartPage.tsx b/src/pages/StartPage.tsx index 3c5327a..49e6603 100644 --- a/src/pages/StartPage.tsx +++ b/src/pages/StartPage.tsx @@ -11,6 +11,10 @@ import AboutDialog from "../dialogs/AboutDialog"; import DownloadDialog from "../dialogs/DownloadDialog"; import QnaDialog from "../dialogs/QnaDialog"; +const AboutIcon: ic.FluentIcon = ic.bundleIcon(ic.InfoFilled, ic.InfoRegular); +const QnaIcon: ic.FluentIcon = ic.bundleIcon(ic.LockClosedFilled, ic.LockClosedRegular); +// const DevIcon: ic.FluentIcon = ic.bundleIcon(ic.CodeFilled, ic.CodeRegular); + export default function StartPage(): ReactElement { const navigate = useNavigate(); @@ -21,10 +25,6 @@ export default function StartPage(): ReactElement const cls = useStyles(); - const AboutIcon: ic.FluentIcon = ic.bundleIcon(ic.InfoFilled, ic.InfoRegular); - const QnaIcon: ic.FluentIcon = ic.bundleIcon(ic.LockClosedFilled, ic.LockClosedRegular); - // const DevIcon: ic.FluentIcon = ic.bundleIcon(ic.CodeFilled, ic.CodeRegular); - return (
{ status === "failed" &&