Skip to content
Snippets Groups Projects
Commit 959298e8 authored by Niklas Schrötler's avatar Niklas Schrötler
Browse files

Panels: Annotated intentional exhaustive-deps violations

parent 0f7cef5a
Branches
No related tags found
No related merge requests found
...@@ -87,6 +87,7 @@ const FahrplanPanel = (props: {definition: FahrplanPanelDefinition}) => { ...@@ -87,6 +87,7 @@ const FahrplanPanel = (props: {definition: FahrplanPanelDefinition}) => {
return () => { return () => {
clearInterval(interval); clearInterval(interval);
} }
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []); }, []);
return ( return (
......
...@@ -117,6 +117,7 @@ const MensaplanPanel = (props: {definition: MensaPanelDefinition}) => { ...@@ -117,6 +117,7 @@ const MensaplanPanel = (props: {definition: MensaPanelDefinition}) => {
return () => { return () => {
clearInterval(interval); clearInterval(interval);
} }
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []); }, []);
useEffect(() => { useEffect(() => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment