Skip to content
Snippets Groups Projects
Commit 7ebd99cf authored by Katarína Sieklová's avatar Katarína Sieklová
Browse files

fix: remove any

parent c1a8020b
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -6,7 +6,7 @@
"scripts": {
"dev": "start /B cmd /C \"npx tailwindcss -i ./src/index.css -o ./dist/output.css --watch\" && vite",
"build": "tsc && vite build",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 1",
"preview": "vite preview"
},
"dependencies": {
......
import {useEffect, useRef, useState} from 'react';
import {SetStateAction, useEffect, useRef, useState} from 'react';
import {AnimateCC} from 'react-adobe-animate';
import Typewriter from "typewriter-effect";
import texts from "../../public/lit/texts";
......@@ -8,7 +8,7 @@ const Intro = () => {
const [paused, setPaused] = useState(false);
const [, setAnimationObject] = useState(null);
const getAnimationObject = (obj: any) => setAnimationObject(obj);
const getAnimationObject = (obj: SetStateAction<null>) => setAnimationObject(obj);
const [currentIndex, setCurrentIndex] = useState(0);
const [isAnimationComplete, setIsAnimationComplete] = useState(false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment