Skip to content

Commit

Permalink
removed proptypes from error-dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
vinu-deriv committed Jun 27, 2022
1 parent 1e7d983 commit b164ce2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/cashier/src/components/error-dialog/error-dialog.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import PropTypes from 'prop-types';
import React from 'react';
import { Link, useHistory } from 'react-router-dom';
import { Dialog } from '@deriv/components';
Expand Down Expand Up @@ -153,12 +152,6 @@ const ErrorDialog = ({ disableApp, enableApp, error = {} }: TErrorDialogProps) =
);
};

ErrorDialog.propTypes = {
error: PropTypes.object,
disableApp: PropTypes.func,
enableApp: PropTypes.func,
};

export default connect(({ ui }: RootStore) => ({
disableApp: ui.disableApp,
enableApp: ui.enableApp,
Expand Down

0 comments on commit b164ce2

Please sign in to comment.