Skip to content

Commit

Permalink
fix: import FooterSlot from frontend-slot-footer package (openedx…
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-smith-tcril authored and hinakhadim committed Aug 27, 2024
1 parent 5219606 commit 9cee085
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 9 deletions.
30 changes: 25 additions & 5 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 @@ -28,8 +28,7 @@
],
"dependencies": {
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.2",
"@edx/frontend-component-footer": "^13.2.0",
"@edx/frontend-component-header": "5.3.0",
"@edx/frontend-component-header": "5.3.1",
"@edx/frontend-platform": "8.0.1",
"@edx/openedx-atlas": "^0.6.0",
"@fortawesome/fontawesome-svg-core": "1.2.36",
Expand All @@ -38,6 +37,7 @@
"@fortawesome/free-solid-svg-icons": "5.15.4",
"@fortawesome/react-fontawesome": "0.2.0",
"@openedx/frontend-plugin-framework": "^1.1.2",
"@openedx/frontend-slot-footer": "^1.0.0",
"@openedx/paragon": "22.0.0",
"@tensorflow-models/blazeface": "0.0.7",
"@tensorflow/tfjs-converter": "3.21.0",
Expand Down
2 changes: 1 addition & 1 deletion src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import ReactDOM from 'react-dom';
import { Route, Routes, Outlet } from 'react-router-dom';

import Header from '@edx/frontend-component-header';
import { FooterSlot } from '@edx/frontend-component-footer';
import FooterSlot from '@openedx/frontend-slot-footer';

import configureStore from './data/configureStore';
import AccountSettingsPage, { NotFoundPage } from './account-settings';
Expand Down
2 changes: 1 addition & 1 deletion src/plugin-slots/FooterSlot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ with a simple custom footer

![Screenshot of Custom Footer](./images/custom_footer.png)

```js
```jsx
import { DIRECT_PLUGIN, PLUGIN_OPERATIONS } from '@openedx/frontend-plugin-framework';

const config = {
Expand Down

0 comments on commit 9cee085

Please sign in to comment.