style: 💄 fix Prettier "error"

This commit is contained in:
streamich 2019-07-08 11:42:44 +02:00
parent a9e3bab280
commit 3f335b2ef1

View File

@ -47,7 +47,7 @@ const useSize = (
useEffect(() => {
const iframe: HTMLIFrameElement | null = ref.current;
if(!iframe) {
if (!iframe) {
// iframe will be undefined if component is already unmounted
return;
}