Removed no longer needed eslint disable comments

This commit is contained in:
Alejandro Celaya
2022-03-26 13:07:58 +01:00
parent 28a5166f56
commit 98450ebec3
12 changed files with 10 additions and 13 deletions

View File

@@ -36,7 +36,7 @@ export const useToggle = (initialValue = false): ToggleResult => {
export const useSwipeable = (showSidebar: () => void, hideSidebar: () => void) => {
const swipeMenuIfNoModalExists = (callback: () => void) => (e: any) => {
const swippedOnVisitsTable = (e.event.composedPath() as HTMLElement[]).some( // eslint-disable-line @typescript-eslint/no-unsafe-call
const swippedOnVisitsTable = (e.event.composedPath() as HTMLElement[]).some(
({ classList }) => classList?.contains('visits-table'),
);