diff --git a/src/components/Sidebar/index.jsx b/src/components/Sidebar/index.jsx
index 7304aa76..e1f43b66 100644
--- a/src/components/Sidebar/index.jsx
+++ b/src/components/Sidebar/index.jsx
@@ -2,16 +2,13 @@ import React, { useRef, useEffect } from 'react';
import { useSelector } from 'react-redux';
import PropTypes from 'prop-types';
-import { useModel } from '@src/generic/model-store';
-
import {
Icon,
IconButton,
} from '@openedx/paragon';
import { Close } from '@openedx/paragon/icons';
-// Commenting this out for now until we figure out a solution for getting the upgrade url
-// import { useModel } from '@src/generic/model-store';
+import { useModel } from '@src/generic/model-store'; // eslint-disable-line import/no-unresolved
import showSurvey from '../../utils/surveyMonkey';
@@ -105,20 +102,20 @@ const Sidebar = ({
const irtl = new Intl.RelativeTimeFormat({ style: 'long' });
return (
- Your trial ends {irtl.format(daysRemaining, 'day')}.
Upgrade for full access to Xpert.
+ Your trial ends {irtl.format(daysRemaining, 'day')}.
Upgrade for full access to Xpert.
);
} if (daysRemaining === 1) {
return (
- Your trial ends today!
Upgrade for full access to Xpert.
+ Your trial ends today!
Upgrade for full access to Xpert.
);
}
// TODO: Show the upgrade screen instead of this banner, to be done in future ticket
return (
- Your trial has expired.
Upgrade for full access to Xpert.
+ Your trial has expired.
Upgrade for full access to Xpert.
);
};
diff --git a/src/data/thunks.js b/src/data/thunks.js
index a10c1412..045dec50 100644
--- a/src/data/thunks.js
+++ b/src/data/thunks.js
@@ -57,7 +57,6 @@ export function getLearningAssistantChatSummary(courseId) {
if (Object.keys(auditTrial).length !== 0) {
dispatch(setAuditTrial(auditTrial));
}
-
} catch (error) {
dispatch(setApiError());
}