mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
style: format useEffect cleanup to satisfy biome
This commit is contained in:
parent
3621951f2a
commit
e38a0ff7c3
3 changed files with 18 additions and 3 deletions
|
|
@ -189,7 +189,12 @@ export function InboxSidebarContent({
|
|||
connectorRafRef.current = undefined;
|
||||
});
|
||||
}, []);
|
||||
useEffect(() => () => { if (connectorRafRef.current) cancelAnimationFrame(connectorRafRef.current); }, []);
|
||||
useEffect(
|
||||
() => () => {
|
||||
if (connectorRafRef.current) cancelAnimationFrame(connectorRafRef.current);
|
||||
},
|
||||
[]
|
||||
);
|
||||
const [filterDrawerOpen, setFilterDrawerOpen] = useState(false);
|
||||
const [markingAsReadId, setMarkingAsReadId] = useState<number | null>(null);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue