Pass the ESLINT and Typescript build

This commit is contained in:
Lucien Astié 2024-08-10 13:22:32 +02:00
parent cea7a5bc9d
commit 32c3debad4
8 changed files with 115 additions and 98 deletions

View file

@ -1,4 +1,4 @@
export default function ModeCard({ mode, selected, onChange }){
export default function ModeCard({ mode, selected, onChange }: any){
const Icon = mode.icon
return <>
<div onClick={onChange} className={`w-24 h-24 rounded-md flex p-4 flex-col items-center ${selected ? "bg-primary" : "bg-zinc-300"}`}>