From 71d372fc1467f7a07c75396d4aaca2e6ad2d7e83 Mon Sep 17 00:00:00 2001 From: Jason Wesson Date: Thu, 12 Oct 2023 20:00:33 +0000 Subject: [PATCH] fix: add correct path for error logging --- plugins/PluginErrorBoundary.jsx | 2 +- .../CollapsedHeader/CollapseMenuBody.jsx | 4 ++-- .../LearnerDashboardHeader/ExpandedHeader/index.jsx | 4 ++-- src/containers/WidgetContainers/NoCoursesSidebar/index.jsx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/PluginErrorBoundary.jsx b/plugins/PluginErrorBoundary.jsx index 71d0b2ff..f1aaf507 100644 --- a/plugins/PluginErrorBoundary.jsx +++ b/plugins/PluginErrorBoundary.jsx @@ -2,7 +2,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; -import { logError } from '../logging'; +import { logError } from '@edx/frontend-platform/logging'; export default class PluginErrorBoundary extends Component { constructor(props) { diff --git a/src/containers/LearnerDashboardHeader/CollapsedHeader/CollapseMenuBody.jsx b/src/containers/LearnerDashboardHeader/CollapsedHeader/CollapseMenuBody.jsx index 11267dd5..7ca93b7f 100644 --- a/src/containers/LearnerDashboardHeader/CollapsedHeader/CollapseMenuBody.jsx +++ b/src/containers/LearnerDashboardHeader/CollapsedHeader/CollapseMenuBody.jsx @@ -6,10 +6,10 @@ import { useIntl } from '@edx/frontend-platform/i18n'; import { AppContext } from '@edx/frontend-platform/react'; import { Button, Badge } from '@edx/paragon'; -import WidgetNavbar from 'containers/WidgetContainers/WidgetNavbar'; +// import WidgetNavbar from 'containers/WidgetContainers/WidgetNavbar'; import urls from 'data/services/lms/urls'; import { reduxHooks } from 'hooks'; -import { COLLAPSED_NAVBAR } from 'widgets/RecommendationsPaintedDoorBtn/constants'; +// import { COLLAPSED_NAVBAR } from 'widgets/RecommendationsPaintedDoorBtn/constants'; import { findCoursesNavDropdownClicked } from '../hooks'; import messages from '../messages'; diff --git a/src/containers/LearnerDashboardHeader/ExpandedHeader/index.jsx b/src/containers/LearnerDashboardHeader/ExpandedHeader/index.jsx index 84c94803..b2b978ce 100644 --- a/src/containers/LearnerDashboardHeader/ExpandedHeader/index.jsx +++ b/src/containers/LearnerDashboardHeader/ExpandedHeader/index.jsx @@ -4,10 +4,10 @@ import { getConfig } from '@edx/frontend-platform'; import { useIntl } from '@edx/frontend-platform/i18n'; import { Button } from '@edx/paragon'; -import WidgetNavbar from 'containers/WidgetContainers/WidgetNavbar'; +// import WidgetNavbar from 'containers/WidgetContainers/WidgetNavbar'; import urls from 'data/services/lms/urls'; import { reduxHooks } from 'hooks'; -import { EXPANDED_NAVBAR } from 'widgets/RecommendationsPaintedDoorBtn/constants'; +// import { EXPANDED_NAVBAR } from 'widgets/RecommendationsPaintedDoorBtn/constants'; import AuthenticatedUserDropdown from './AuthenticatedUserDropdown'; import { useIsCollapsed, findCoursesNavClicked } from '../hooks'; diff --git a/src/containers/WidgetContainers/NoCoursesSidebar/index.jsx b/src/containers/WidgetContainers/NoCoursesSidebar/index.jsx index a361b8a0..d62413ff 100644 --- a/src/containers/WidgetContainers/NoCoursesSidebar/index.jsx +++ b/src/containers/WidgetContainers/NoCoursesSidebar/index.jsx @@ -1,7 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -import RecommendationsPanel from 'widgets/RecommendationsPanel'; +// import RecommendationsPanel from 'widgets/RecommendationsPanel'; import hooks from 'widgets/ProductRecommendations/hooks'; import PluginSlot from '../../../../plugins/PluginSlot';