diff --git a/apps/doc-gen/src/app/views/ErrorView.tsx b/apps/doc-gen/src/app/views/ErrorView.tsx index 09af1ea547..38e6a57cfd 100644 --- a/apps/doc-gen/src/app/views/ErrorView.tsx +++ b/apps/doc-gen/src/app/views/ErrorView.tsx @@ -1,6 +1,6 @@ import React from 'react' -export const ErrorView: React.FC = () => { +export const ErrorView = () => { return (
= ({from}: IconProps) => { +const HomeIcon = ({from}: IconProps) => { return ( = ({from}: IconProps) => { ) } -const ReceiptsIcon: React.FC = ({from}: IconProps) => { +const ReceiptsIcon = ({from}: IconProps) => { return ( = ({from}: IconProps) => { ) } -const SettingsIcon: React.FC = ({from}: IconProps) => { +const SettingsIcon = ({from}: IconProps) => { return ( = ({from}: IconProps) => { ) } -export const HeaderWithSettings: React.FC = ({title = '', from}) => { +export const HeaderWithSettings = ({title = '', from}) => { return (
{title}
diff --git a/apps/etherscan/src/app/components/SubmitButton.tsx b/apps/etherscan/src/app/components/SubmitButton.tsx index 080fafc708..9f4bed6200 100644 --- a/apps/etherscan/src/app/components/SubmitButton.tsx +++ b/apps/etherscan/src/app/components/SubmitButton.tsx @@ -8,7 +8,7 @@ interface Props { disable?: boolean } -export const SubmitButton: React.FC = ({text, dataId, isSubmitting = false, disable = true}) => { +export const SubmitButton = ({text, dataId, isSubmitting = false, disable = true}) => { return (