mirror of
https://github.com/morten-olsen/react-native-debug-console.git
synced 2026-02-08 00:36:26 +01:00
cleanup
This commit is contained in:
@@ -23,9 +23,9 @@ const DevTool = ({
|
||||
includeStackTrace,
|
||||
onClose,
|
||||
showNetwork = true,
|
||||
showStorage = true,
|
||||
showConsole = true,
|
||||
additionalTools = [],
|
||||
storage,
|
||||
}) => {
|
||||
const views = [];
|
||||
|
||||
@@ -45,10 +45,10 @@ const DevTool = ({
|
||||
});
|
||||
}
|
||||
|
||||
if (showStorage) {
|
||||
if (storage) {
|
||||
views.push({
|
||||
name: 'Storage',
|
||||
view: <Storage />,
|
||||
view: <Storage provider={storage} />,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user