Skip to content

Commit 4675177

Browse files
authored
Fix hook deps issue (cube-js#5323)
1 parent 8aebf8c commit 4675177

File tree

1 file changed

+1
-1
lines changed
  • examples/ksql/dashboard-app/src/components

1 file changed

+1
-1
lines changed

examples/ksql/dashboard-app/src/components/Header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const Header = ({ analytics }) => {
99
setSendingEvent(true);
1010
analytics.track("button_clicked");
1111
setTimeout(() => setSendingEvent(false), 2500);
12-
}, []);
12+
}, [analytics]);
1313

1414
return (
1515
<Layout.Header style={{ padding: "0 32px" }}>

0 commit comments

Comments
 (0)