This commit is contained in:
2019-07-05 10:07:30 +02:00
parent 8aec17f1e0
commit 59cb7142e3
11 changed files with 39 additions and 36 deletions

View File

@@ -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} />,
});
}