diff --git a/src/components/views/dialogs/LazyLoadingResyncDialog.js b/src/components/views/dialogs/LazyLoadingResyncDialog.tsx similarity index 89% rename from src/components/views/dialogs/LazyLoadingResyncDialog.js rename to src/components/views/dialogs/LazyLoadingResyncDialog.tsx index a5db15ebbe..c942126d12 100644 --- a/src/components/views/dialogs/LazyLoadingResyncDialog.js +++ b/src/components/views/dialogs/LazyLoadingResyncDialog.tsx @@ -20,7 +20,11 @@ import QuestionDialog from './QuestionDialog'; import { _t } from '../../../languageHandler'; import SdkConfig from '../../../SdkConfig'; -export default (props) => { +interface IProps { + onFinished: () => void; +} + +const LazyLoadingResyncDialog: React.FC = (props: IProps) => { const brand = SdkConfig.get().brand; const description = _t( @@ -38,3 +42,5 @@ export default (props) => { onFinished={props.onFinished} />); }; + +export default LazyLoadingResyncDialog;