We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 249dfc4 commit 9dd243dCopy full SHA for 9dd243d
dash/dash-renderer/src/wrapper/ExternalWrapper.tsx
@@ -13,6 +13,7 @@ import {
13
type Props = {
14
component: DashComponent;
15
componentPath: DashLayoutPath;
16
+ temp?: boolean; // If true, the component will be removed on unmount.
17
};
18
19
/**
@@ -22,7 +23,7 @@ function ExternalWrapper({
22
23
component,
24
componentPath,
25
temp = false
-}: Props & {temp?: boolean}) {
26
+}: Props) {
27
const dispatch: any = useDispatch();
28
const [inserted, setInserted] = useState(false);
29
0 commit comments