Skip to content

Commit

Permalink
fix: update frontend-platform usage (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Butterworth authored Dec 3, 2019
1 parent b503643 commit 490edab
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 85 deletions.
4 changes: 1 addition & 3 deletions example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ import 'babel-polyfill';

import React from 'react';
import ReactDOM from 'react-dom';
import { initialize, APP_READY } from '@edx/frontend-platform/init';
import { getConfig } from '@edx/frontend-platform/config';
import { initialize, getConfig, subscribe, APP_READY } from '@edx/frontend-platform';
import { AppContext, AppProvider } from '@edx/frontend-platform/react';
import { subscribe } from '@edx/frontend-platform/pubSub';
import './index.scss';
import Header from '../src/';

Expand Down
88 changes: 8 additions & 80 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": "git+https://github.com/edx/frontend-platform.git",
"@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 490edab

Please sign in to comment.