1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

fixed eslint warnings

This commit is contained in:
Fedor Katurov 2022-01-07 19:06:57 +07:00
parent 58fa40dd5c
commit ba2e610e01
16 changed files with 82 additions and 585 deletions

View file

@ -1,6 +1,6 @@
import React, { FC } from 'react';
import { INodeComponentProps } from '~/constants/node';
import SwiperCore, { A11y, Navigation, Pagination, SwiperOptions } from 'swiper';
import SwiperCore, { A11y, Navigation, Pagination } from 'swiper';
import styles from './styles.module.scss';
import { useNodeImages } from '~/hooks/node/useNodeImages';
@ -13,12 +13,6 @@ SwiperCore.use([Navigation, Pagination, A11y]);
interface IProps extends INodeComponentProps {}
const breakpoints: SwiperOptions['breakpoints'] = {
599: {
navigation: true,
},
};
const LabImage: FC<IProps> = ({ node, isLoading }) => {
const images = useNodeImages(node);
const onClick = useGotoNode(node.id);