mirror of
https://github.com/streamich/react-use.git
synced 2026-01-18 14:06:52 +00:00
style: 💄 fix Prettier "error"
This commit is contained in:
parent
a9e3bab280
commit
3f335b2ef1
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user