fix react data-ison error

This commit is contained in:
SethBurkart123
2023-12-20 15:15:02 +11:00
parent b648e6cc4f
commit b565993fbe
+1 -1
View File
@@ -11,7 +11,7 @@ export default function Switch(props: SwitchProps) {
return ( return (
<div <div
className="flex w-14 p-1 cursor-pointer rounded-full dark:bg-[#38373D] bg-[#DDDDDD] switch" className="flex w-14 p-1 cursor-pointer rounded-full dark:bg-[#38373D] bg-[#DDDDDD] switch"
data-isOn={props.state} data-ison={props.state}
onClick={toggleSwitch} onClick={toggleSwitch}
> >
<motion.div <motion.div