Skip to content

Commit 9dd243d

Browse files
committed
updating definition for temp
1 parent 249dfc4 commit 9dd243d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dash/dash-renderer/src/wrapper/ExternalWrapper.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
type Props = {
1414
component: DashComponent;
1515
componentPath: DashLayoutPath;
16+
temp?: boolean; // If true, the component will be removed on unmount.
1617
};
1718

1819
/**
@@ -22,7 +23,7 @@ function ExternalWrapper({
2223
component,
2324
componentPath,
2425
temp = false
25-
}: Props & {temp?: boolean}) {
26+
}: Props) {
2627
const dispatch: any = useDispatch();
2728
const [inserted, setInserted] = useState(false);
2829

0 commit comments

Comments
 (0)