mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 02:56:23 +08:00
chore: remove residual FC and FunctionComponent from components
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user