исправление ошибок мешающих build

This commit is contained in:
xomimishka committed 2025-06-09 14:16:24 +03:00
1 parent 1131ba9799
commit b630f91533
14 files changed
+87 -100

No files matched your search

@@ -13,7 +13,7 @@ import { useSwipeable } from 'react-swipeable';
import ContactUs from "@/widgets/ContactUs";
function LabBoard() {
const [activeFeature, setActiveFeature] = useState(null);
const [activeFeature, setActiveFeature] = useState<number | null>(null);
const features = [
{
@@ -46,7 +46,7 @@ function LabBoard() {
}
];
const toggleFeature = (index) => {
const toggleFeature = (index: number) => {
setActiveFeature(activeFeature === index ? null : index);
};