From ece94247eb3186369ac5750badb47859438036b4 Mon Sep 17 00:00:00 2001 From: Austin McGee <947888+amcgee@users.noreply.github.com> Date: Thu, 14 Nov 2019 13:14:01 +0100 Subject: [PATCH] fix: use Provider instead of DataProvider (#163) --- examples/simple-app/yarn.lock | 2 +- shell/adapter/src/index.js | 6 +++--- shell/adapter/yarn.lock | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/simple-app/yarn.lock b/examples/simple-app/yarn.lock index c8b1985e8..620971cdb 100644 --- a/examples/simple-app/yarn.lock +++ b/examples/simple-app/yarn.lock @@ -927,7 +927,7 @@ integrity sha512-w5+C/fHSsuF0am5Tpvz53+tigEZzfz9ahkjXH3BiWxGVxwZGtdHjWfso1T5bJRiKhDTgf76TxIsQiC11W20WyA== "@dhis2/cli-app-scripts@file:../../cli": - version "1.5.7" + version "1.5.8" dependencies: "@babel/core" "^7.6.2" "@babel/plugin-proposal-class-properties" "^7.4.4" diff --git a/shell/adapter/src/index.js b/shell/adapter/src/index.js index d3e70019a..2b3955e6b 100644 --- a/shell/adapter/src/index.js +++ b/shell/adapter/src/index.js @@ -1,15 +1,15 @@ import React from 'react' import { HeaderBar } from '@dhis2/ui-widgets' -import { DataProvider } from '@dhis2/app-runtime' +import { Provider } from '@dhis2/app-runtime' import { FatalErrorBoundary } from './FatalErrorBoundary' import { AuthBoundary } from './AuthBoundary' const App = ({ url, apiVersion, appName, children }) => ( - + {children} - + ) diff --git a/shell/adapter/yarn.lock b/shell/adapter/yarn.lock index ab97b2ced..a7b14d7f3 100644 --- a/shell/adapter/yarn.lock +++ b/shell/adapter/yarn.lock @@ -863,7 +863,7 @@ integrity sha512-w5+C/fHSsuF0am5Tpvz53+tigEZzfz9ahkjXH3BiWxGVxwZGtdHjWfso1T5bJRiKhDTgf76TxIsQiC11W20WyA== "@dhis2/cli-app-scripts@file:../../cli": - version "1.5.7" + version "1.5.8" dependencies: "@babel/core" "^7.6.2" "@babel/plugin-proposal-class-properties" "^7.4.4"