forked from overhangio/tutor-indigo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: problem displaying /account/ page after upgraded to redwood (ove…
…rhangio#96) * fix: account-mfe bug * refactor: remove unused useEffect in env.config.jsx and add comment
- Loading branch information
1 parent
ef0bb22
commit f9a90a4
Showing
2 changed files
with
48 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React from 'react'; | ||
|
||
import Footer from '@edly-io/indigo-frontend-component-footer'; | ||
import { DIRECT_PLUGIN, PLUGIN_OPERATIONS } from '@openedx/frontend-plugin-framework'; | ||
|
||
const themePluginSlot = { | ||
keepDefault: false, | ||
plugins: [ | ||
{ | ||
op: PLUGIN_OPERATIONS.Insert, | ||
widget: { | ||
id: 'default_contents', | ||
type: DIRECT_PLUGIN, | ||
priority: 1, | ||
RenderWidget: <Footer />, | ||
}, | ||
} | ||
], | ||
}; | ||
|
||
const config = { | ||
pluginSlots: { | ||
footer_slot: themePluginSlot, | ||
}, | ||
}; | ||
|
||
export default config; |