diff --git a/packages/reports/src/Components/empty-portfolio-message.jsx b/packages/reports/src/Components/empty-portfolio-message.tsx similarity index 88% rename from packages/reports/src/Components/empty-portfolio-message.jsx rename to packages/reports/src/Components/empty-portfolio-message.tsx index 5f26070b2c88..9a36c46f6d14 100644 --- a/packages/reports/src/Components/empty-portfolio-message.jsx +++ b/packages/reports/src/Components/empty-portfolio-message.tsx @@ -2,7 +2,11 @@ import React from 'react'; import { Icon, Text } from '@deriv/components'; import { localize } from '@deriv/translations'; -const EmptyPortfolioMessage = ({ error }) => ( +type TEmptyPortfolioMessage = { + error: string; +}; + +const EmptyPortfolioMessage = ({ error }: TEmptyPortfolioMessage) => (