Skip to content

Commit

Permalink
fix: update frontend-platform usage (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Butterworth committed Dec 3, 2019
1 parent bc65e5a commit 846c4aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import 'babel-polyfill';
import React from 'react';
import ReactDOM from 'react-dom';
import { AppContext, AppProvider } from '@edx/frontend-platform/react';
import { initialize, APP_READY } from '@edx/frontend-platform/init';
import { subscribe } from '@edx/frontend-platform/pubSub';
import { getConfig } from '@edx/frontend-platform/config';
import { initialize, getConfig, subscribe, APP_READY } from '@edx/frontend-platform';

import './index.scss';
import Header from '../src/';
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@commitlint/prompt": "8.2.0",
"@commitlint/prompt-cli": "8.2.0",
"@edx/frontend-build": "^2.0.1",
"@edx/frontend-platform": "^1.1.2",
"@edx/frontend-platform": "^1.1.4",
"@edx/paragon": "7.1.4",
"codecov": "3.6.1",
"enzyme": "3.10.0",
Expand All @@ -61,7 +61,7 @@
"react-transition-group": "4.3.0"
},
"peerDependencies": {
"@edx/frontend-platform": "^1.0.0",
"@edx/frontend-platform": "^1.1.4",
"@edx/paragon": "^7.0.0",
"prop-types": "^15.5.10",
"react": "^16.9.0",
Expand Down

0 comments on commit 846c4aa

Please sign in to comment.