Browse Source

Fix invalid linter error about onLoad on an iframe

pull/2085/head
Gabe Kangas 3 years ago
parent
commit
065c36a0a6
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 1
      web/components/ui/Modal/Modal.tsx

1
web/components/ui/Modal/Modal.tsx

@ -33,6 +33,7 @@ export default function Modal(props: Props) { @@ -33,6 +33,7 @@ export default function Modal(props: Props) {
sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
frameBorder="0"
allowFullScreen
// eslint-disable-next-line react/no-unknown-property
onLoad={() => setLoading(false)}
/>
);

Loading…
Cancel
Save