Fix invalid linter error about onLoad on an iframe

This commit is contained in:
Gabe Kangas
2022-09-04 22:52:32 -07:00
parent 62f2217b09
commit 065c36a0a6

View File

@@ -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)}
/>
);