Skip to content

Commit 845db3e

Browse files
committed
feat: [PROD-14867] handle refresh for superset guest tokens
1 parent 52ee2a1 commit 845db3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/charts/SupersetEmbed/SupersetEmbed.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ export const SupersetEmbed = ({
5050
return () => {
5151
if (dashboard?.destroy) dashboard.destroy();
5252
};
53-
}, [report, options, dashboard]);
53+
// eslint-disable-next-line react-hooks/exhaustive-deps
54+
}, [report.id, options.supersetUrl]);
5455

5556
return (
5657
<Box

0 commit comments

Comments
 (0)