From 0e6959331a5ae5f6e9eaf82a487718a57ff56fdf Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Sun, 2 Feb 2025 19:24:13 +0000 Subject: [PATCH] fixed some linting --- src/Components/Profile/Subcomponents/GalleryView.tsx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/Components/Profile/Subcomponents/GalleryView.tsx b/src/Components/Profile/Subcomponents/GalleryView.tsx index 76cfa0fc..7cf2bc37 100644 --- a/src/Components/Profile/Subcomponents/GalleryView.tsx +++ b/src/Components/Profile/Subcomponents/GalleryView.tsx @@ -1,15 +1,11 @@ -/* eslint-disable import/no-unassigned-import */ -/* eslint-disable import/order */ -/* eslint-disable import/no-extraneous-dependencies */ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ /* eslint-disable @typescript-eslint/restrict-template-expressions */ /* eslint-disable @typescript-eslint/no-unsafe-call */ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ import { useState } from 'react' -// eslint-disable-next-line import/no-named-as-default -import Lightbox from 'yet-another-react-lightbox' -import 'yet-another-react-lightbox/styles.css' import { RowsPhotoAlbum } from 'react-photo-album' +import ReactLightbox from 'yet-another-react-lightbox' +import 'yet-another-react-lightbox/styles.css' import 'react-photo-album/rows.css' import { useAppState } from '#components/AppShell/hooks/useAppState' @@ -35,7 +31,7 @@ export const GalleryView = ({ item }: { item: Item }) => { onClick={({ index: current }) => setIndex(current)} /> - = 0} close={() => setIndex(-1)} /> + = 0} close={() => setIndex(-1)} /> ) }