1
0
mirror of https://github.com/XFox111/easylogon-web.git synced 2026-07-02 19:52:45 +03:00

fix: eslint errors

This commit is contained in:
2025-11-11 11:31:51 +00:00
parent 8831c619ef
commit eb168dcdbf
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -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);
}, []);
+4 -4
View File
@@ -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 (
<main className={ cls.root }>
{ status === "failed" &&