mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
eslint auto-fix
This commit is contained in:
parent
312156bdf8
commit
4c4461ea19
55 changed files with 107 additions and 110 deletions
|
@ -62,7 +62,7 @@ const HeaderUnconnected: FC<IProps> = memo(
|
|||
|
||||
useEffect(() => {
|
||||
onScroll();
|
||||
}, []);
|
||||
}, [onScroll]);
|
||||
|
||||
useEffect(() => {
|
||||
window.addEventListener('scroll', onScroll);
|
||||
|
@ -74,7 +74,7 @@ const HeaderUnconnected: FC<IProps> = memo(
|
|||
is_user &&
|
||||
boris_commented_at &&
|
||||
(!last_seen_boris || isBefore(new Date(last_seen_boris), new Date(boris_commented_at))),
|
||||
[boris_commented_at, last_seen_boris]
|
||||
[boris_commented_at, is_user, last_seen_boris]
|
||||
);
|
||||
|
||||
const hasLabUpdates = useMemo(() => labUpdates.length > 0, [labUpdates]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue