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:
@@ -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);
|
||||
}, []);
|
||||
|
||||
|
||||
@@ -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" &&
|
||||
|
||||
Reference in New Issue
Block a user