Skip to content

Commit

Permalink
refactor: remove unused useEffect in env.config.jsx and add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hinakhadim committed Aug 27, 2024
1 parent 392966d commit 9fe312f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions tutorindigo/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ def _override_openedx_docker_image(

hooks.Filters.ENV_PATCHES.add_items(
[
# MFE will install header version 3.0.x and will include indigo-footer as a
# separate package for use in env.config.jsx
(
"mfe-dockerfile-post-npm-install-learning",
"""
Expand Down
4 changes: 2 additions & 2 deletions tutorindigo/templates/indigo/env.config.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect } from 'react';
import React from 'react';

import Footer from '@edly-io/indigo-frontend-component-footer';
import { DIRECT_PLUGIN, PLUGIN_OPERATIONS } from '@openedx/frontend-plugin-framework';
Expand All @@ -24,4 +24,4 @@ const config = {
},
};

export default config;
export default config;

0 comments on commit 9fe312f

Please sign in to comment.