Skip to content

Commit 65801b8

Browse files
committed
Cleanup
1 parent 8c76cd0 commit 65801b8

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

dash/dash-renderer/src/TreeContainer.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,6 @@ class BaseTreeContainer extends Component {
215215
}
216216
validateComponent(_dashprivate_layout);
217217

218-
// console.log("Dash private config", _dashprivate_config);
219-
// const element = Registry.resolve(_dashprivate_layout);
220-
221218
// Hydrate components props
222219
const childrenProps = pathOr(
223220
[],

dash/dash-renderer/src/libraries/librariesContext.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {createContext, useContext, useEffect, useState} from 'react';
1+
import {createContext, useEffect, useState} from 'react';
22
import {pathOr, toPairs} from 'ramda';
33
import loadLibrary from './loadLibrary';
44
import {batch, useDispatch, useSelector} from 'react-redux';
@@ -130,7 +130,3 @@ export function createLibrariesContext(
130130
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
131131
// @ts-ignore
132132
export const LibrariesContext = createContext<LibrariesContextType>(null);
133-
134-
export function useDashLibraries() {
135-
return useContext(LibrariesContext);
136-
}

0 commit comments

Comments
 (0)