style: run prettier on entire codebase

This commit is contained in:
BOHA
2026-03-24 19:59:14 +01:00
parent 872be42107
commit 3c167cf5c4
148 changed files with 26740 additions and 13990 deletions

View File

@@ -1,14 +1,14 @@
import { useEffect } from 'react'
import { useEffect } from "react";
export default function useModalLock(isOpen: boolean): void {
useEffect(() => {
if (isOpen) {
document.body.style.overflow = 'hidden'
document.body.style.overflow = "hidden";
} else {
document.body.style.overflow = ''
document.body.style.overflow = "";
}
return () => {
document.body.style.overflow = ''
}
}, [isOpen])
document.body.style.overflow = "";
};
}, [isOpen]);
}