mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-07 20:31:33 +08:00
style: enable import-x/no-duplicates (#6279)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { type RefObject, useEffect, useState } from 'react';
|
||||
import type { RefObject } from 'react';
|
||||
import { useEffect, useState } from 'react';
|
||||
|
||||
export function useHasScrollTop(ref: RefObject<HTMLElement> | null) {
|
||||
const [hasScrollTop, setHasScrollTop] = useState(false);
|
||||
|
||||
Reference in New Issue
Block a user