diff --git a/frontend/src/Pages/LoginPage.tsx b/frontend/src/Pages/LoginPage.tsx index 1ad479b..d8ea651 100644 --- a/frontend/src/Pages/LoginPage.tsx +++ b/frontend/src/Pages/LoginPage.tsx @@ -14,10 +14,10 @@ const PreloadBackgroundAnimation = (): JSX.Element => { ]; // Pre-load images - for (let i = 0; i < images.length; i++) { - const img = new Image(); - img.src = images[i]; + for (const i of images) { + console.log(i); } + // Start animation document.body.style.animation = "backgroundTransition 30s infinite"; }, []); @@ -62,7 +62,12 @@ function LoginPage(): JSX.Element { placeholder="Password" /> <Link to="/your-projects"> - <Button text="Login" onClick={() => {}} /> + <Button + text="Login" + onClick={(): void => { + return; + }} + /> </Link> </div> </div>