Skip to content

Commit

Permalink
fix(expiry modal): omit children type
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerard Brull committed Jun 12, 2020
1 parent d773df4 commit 2543e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/molecules/ExpiryModal/ExpiryModal.tsx
Expand Up @@ -3,7 +3,7 @@ import Modal, { ModalProps } from '../Modal/Modal';
import Button from '../../atoms/Button/Button';
import Card from '../../organisms/Card';

interface ExpiryModalProps extends ModalProps {
interface ExpiryModalProps extends Omit<ModalProps, 'children'> {
/**
* A callback that fires once the user clicks on 'Log out'
*/
Expand Down

0 comments on commit 2543e72

Please sign in to comment.