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:
parent
58fa40dd5c
commit
ba2e610e01
16 changed files with 82 additions and 585 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue