From c3639eec5ff1745a13778fa10704d5626fca71d9 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Tue, 1 Aug 2023 13:33:16 +0800 Subject: [PATCH] Need to use class components for icons --- packages/web/components/elements/icons/ArchiveIcon.tsx | 2 ++ .../web/components/elements/icons/CircleUtilityMenuIcon.tsx | 2 ++ packages/web/components/elements/icons/EditInfoIcon.tsx | 2 ++ packages/web/components/elements/icons/GridViewIcon.tsx | 2 ++ packages/web/components/elements/icons/LabelIcon.tsx | 2 ++ packages/web/components/elements/icons/ListViewIcon.tsx | 2 ++ packages/web/components/elements/icons/NotebookIcon.tsx | 2 ++ packages/web/components/elements/icons/ReaderSettingsIcon.tsx | 2 ++ packages/web/components/elements/icons/TrashIcon.tsx | 2 ++ packages/web/components/elements/icons/UnarchiveIcon.tsx | 2 ++ 10 files changed, 20 insertions(+) diff --git a/packages/web/components/elements/icons/ArchiveIcon.tsx b/packages/web/components/elements/icons/ArchiveIcon.tsx index b9978d9f4..4572db2e7 100644 --- a/packages/web/components/elements/icons/ArchiveIcon.tsx +++ b/packages/web/components/elements/icons/ArchiveIcon.tsx @@ -1,3 +1,5 @@ +/* eslint-disable functional/no-class */ +/* eslint-disable functional/no-this-expression */ import { IconProps } from './IconProps' import React from 'react' diff --git a/packages/web/components/elements/icons/CircleUtilityMenuIcon.tsx b/packages/web/components/elements/icons/CircleUtilityMenuIcon.tsx index 3221f305b..c18ba5fb5 100644 --- a/packages/web/components/elements/icons/CircleUtilityMenuIcon.tsx +++ b/packages/web/components/elements/icons/CircleUtilityMenuIcon.tsx @@ -1,3 +1,5 @@ +/* eslint-disable functional/no-class */ +/* eslint-disable functional/no-this-expression */ import { IconProps } from './IconProps' import React from 'react' diff --git a/packages/web/components/elements/icons/EditInfoIcon.tsx b/packages/web/components/elements/icons/EditInfoIcon.tsx index e9218be2a..ebace8778 100644 --- a/packages/web/components/elements/icons/EditInfoIcon.tsx +++ b/packages/web/components/elements/icons/EditInfoIcon.tsx @@ -1,3 +1,5 @@ +/* eslint-disable functional/no-class */ +/* eslint-disable functional/no-this-expression */ import { IconProps } from './IconProps' import React from 'react' diff --git a/packages/web/components/elements/icons/GridViewIcon.tsx b/packages/web/components/elements/icons/GridViewIcon.tsx index 73e7e5169..b676fd2ac 100644 --- a/packages/web/components/elements/icons/GridViewIcon.tsx +++ b/packages/web/components/elements/icons/GridViewIcon.tsx @@ -1,3 +1,5 @@ +/* eslint-disable functional/no-class */ +/* eslint-disable functional/no-this-expression */ import { IconProps } from './IconProps' import React from 'react' diff --git a/packages/web/components/elements/icons/LabelIcon.tsx b/packages/web/components/elements/icons/LabelIcon.tsx index 7db4c913f..125ccb7c0 100644 --- a/packages/web/components/elements/icons/LabelIcon.tsx +++ b/packages/web/components/elements/icons/LabelIcon.tsx @@ -1,3 +1,5 @@ +/* eslint-disable functional/no-class */ +/* eslint-disable functional/no-this-expression */ import { IconProps } from './IconProps' import React from 'react' diff --git a/packages/web/components/elements/icons/ListViewIcon.tsx b/packages/web/components/elements/icons/ListViewIcon.tsx index b97ec5546..117057fc4 100644 --- a/packages/web/components/elements/icons/ListViewIcon.tsx +++ b/packages/web/components/elements/icons/ListViewIcon.tsx @@ -1,3 +1,5 @@ +/* eslint-disable functional/no-class */ +/* eslint-disable functional/no-this-expression */ import { IconProps } from './IconProps' import React from 'react' diff --git a/packages/web/components/elements/icons/NotebookIcon.tsx b/packages/web/components/elements/icons/NotebookIcon.tsx index 120c13f1a..27c500f55 100644 --- a/packages/web/components/elements/icons/NotebookIcon.tsx +++ b/packages/web/components/elements/icons/NotebookIcon.tsx @@ -1,3 +1,5 @@ +/* eslint-disable functional/no-class */ +/* eslint-disable functional/no-this-expression */ import { IconProps } from './IconProps' import React from 'react' diff --git a/packages/web/components/elements/icons/ReaderSettingsIcon.tsx b/packages/web/components/elements/icons/ReaderSettingsIcon.tsx index 721bcc12a..b1eff7931 100644 --- a/packages/web/components/elements/icons/ReaderSettingsIcon.tsx +++ b/packages/web/components/elements/icons/ReaderSettingsIcon.tsx @@ -1,3 +1,5 @@ +/* eslint-disable functional/no-class */ +/* eslint-disable functional/no-this-expression */ import { IconProps } from './IconProps' import React from 'react' diff --git a/packages/web/components/elements/icons/TrashIcon.tsx b/packages/web/components/elements/icons/TrashIcon.tsx index c286995a6..ba9179f5a 100644 --- a/packages/web/components/elements/icons/TrashIcon.tsx +++ b/packages/web/components/elements/icons/TrashIcon.tsx @@ -1,3 +1,5 @@ +/* eslint-disable functional/no-class */ +/* eslint-disable functional/no-this-expression */ import { IconProps } from './IconProps' import React from 'react' diff --git a/packages/web/components/elements/icons/UnarchiveIcon.tsx b/packages/web/components/elements/icons/UnarchiveIcon.tsx index 361d734f5..24f84e734 100644 --- a/packages/web/components/elements/icons/UnarchiveIcon.tsx +++ b/packages/web/components/elements/icons/UnarchiveIcon.tsx @@ -1,3 +1,5 @@ +/* eslint-disable functional/no-class */ +/* eslint-disable functional/no-this-expression */ import { IconProps } from './IconProps' import React from 'react'