fix(admin-ui): Lint all UI files (#3459)

This commit is contained in:
Kasper Fabricius Kristensen
2023-03-13 14:02:20 +01:00
committed by GitHub
parent 55febef7f1
commit ad7d7fcd51
432 changed files with 1593 additions and 1767 deletions

View File

@@ -7,7 +7,7 @@ type useScrollProps = {
export const useScroll = ({ threshold = 0 }: useScrollProps) => {
const [isScrolled, setIsScrolled] = useState(false)
const scrollListener = e => {
const scrollListener = (e) => {
const currentScrollY = e.target.scrollTop
if (currentScrollY > threshold) {
setIsScrolled(true)