chore: remove residual FC and FunctionComponent from components

This commit is contained in:
Bryan Lee
2022-08-12 10:56:22 +08:00
parent d3b4906da9
commit 495d9ccc0c
88 changed files with 99 additions and 123 deletions
@@ -1,4 +1,4 @@
import { FC, useState } from 'react';
import { useState } from 'react';
import { useNavigate } from 'react-router';
import clsx from 'clsx';
import style9 from 'style9';
@@ -21,7 +21,7 @@ export const commonListContainer = 'commonListContainer';
type Content = {
id: string;
content: string;
icon: FC<SvgIconProps>;
icon: (prop: SvgIconProps) => JSX.Element;
};
export type CommonListItem = {