Skip to content

Commit 490edab

Browse files
author
Adam Butterworth
authored
fix: update frontend-platform usage (#33)
1 parent b503643 commit 490edab

File tree

3 files changed

+11
-85
lines changed

3 files changed

+11
-85
lines changed

example/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ import 'babel-polyfill';
22

33
import React from 'react';
44
import ReactDOM from 'react-dom';
5-
import { initialize, APP_READY } from '@edx/frontend-platform/init';
6-
import { getConfig } from '@edx/frontend-platform/config';
5+
import { initialize, getConfig, subscribe, APP_READY } from '@edx/frontend-platform';
76
import { AppContext, AppProvider } from '@edx/frontend-platform/react';
8-
import { subscribe } from '@edx/frontend-platform/pubSub';
97
import './index.scss';
108
import Header from '../src/';
119

package-lock.json

Lines changed: 8 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@commitlint/prompt": "8.2.0",
4040
"@commitlint/prompt-cli": "8.2.0",
4141
"@edx/frontend-build": "^2.0.1",
42-
"@edx/frontend-platform": "git+https://github.com/edx/frontend-platform.git",
42+
"@edx/frontend-platform": "^1.1.4",
4343
"@edx/paragon": "7.1.4",
4444
"codecov": "3.6.1",
4545
"enzyme": "3.10.0",
@@ -61,7 +61,7 @@
6161
"react-transition-group": "4.3.0"
6262
},
6363
"peerDependencies": {
64-
"@edx/frontend-platform": "^1.0.0",
64+
"@edx/frontend-platform": "^1.1.4",
6565
"@edx/paragon": "^7.0.0",
6666
"prop-types": "^15.5.10",
6767
"react": "^16.9.0",

0 commit comments

Comments
 (0)