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 9f7c964
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 @@ -105,6 +105,8 @@ def _override_openedx_docker_image(
hooks.Filters.ENV_PATCHES.add_items(
[
(
# MFE will install header version 3.0.x and installing indigo-footer as a
# separate package for use in env.config.jsx
"mfe-dockerfile-post-npm-install-learning",
"""
RUN npm install '@edx/brand@npm:@edly-io/indigo-brand-openedx@^2.0.0'{% if INDIGO_ENABLE_DARK_THEME %} --theme=dark{% endif %}
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 9f7c964

Please sign in to comment.