Skip to content

Commit 3702683

Browse files
committed
swapping initial value
1 parent d2afce4 commit 3702683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function DashWrapper({
6565
const dispatch = useDispatch();
6666
const memoizedKeys: MutableRefObject<MemoizedKeysType> = useRef({});
6767
const newRender = useRef(false);
68-
const renderedPath: any = useRef(null);
68+
const renderedPath = useRef<DashLayoutPath>(componentPath);
6969
let renderComponent: any = null;
7070
let renderComponentProps: any = null;
7171
let renderH: any = null;

0 commit comments

Comments
 (0)