mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:59:45 +00:00
исправление ошибок мешающих build
This commit is contained in:
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);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user