1
0
Fork 0

chore: Linter issues

This commit is contained in:
Joost De Cock 2023-07-28 20:41:24 +02:00
parent 2efba303d6
commit d1b9f8aea8
2 changed files with 3 additions and 1 deletions

View file

@ -93,7 +93,7 @@ const Title = ({ txt }) => (
const slides = [0, 1, 2, 3, 4, 5, 6, 7] const slides = [0, 1, 2, 3, 4, 5, 6, 7]
export const HowDoesItWorkAnimation = ({ className = 'w-full', stroke = 0.3 }) => { export const HowDoesItWorkAnimation = () => {
const { t } = useTranslation(ns) const { t } = useTranslation(ns)
const [step, setStep] = useState(0) const [step, setStep] = useState(0)
const [halfStep, setHalfStep] = useState(0) const [halfStep, setHalfStep] = useState(0)

View file

@ -1,3 +1,5 @@
import { useState, useEffect } from 'react'
export const LoadingBar = ({ duration = 1000, color = 'primary' }) => { export const LoadingBar = ({ duration = 1000, color = 'primary' }) => {
const [started, setStarted] = useState(false) const [started, setStarted] = useState(false)
useEffect(() => { useEffect(() => {