Skip to content

Commit d9fa9f2

Browse files
feat: add env variable to display image
1 parent e142ee9 commit d9fa9f2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/discussions/post-comments/comments/comment/CommentHeader.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import React from 'react';
22
import PropTypes from 'prop-types';
33

4+
import { getConfig } from "@edx/frontend-platform";
45
import { Avatar } from '@openedx/paragon';
56
import classNames from 'classnames';
67

78
import { AvatarOutlineAndLabelColors } from '../../../../data/constants';
89
import { AuthorLabel } from '../../../common';
910
import { useAlertBannerVisible } from '../../../data/hooks';
10-
import {getConfig} from "@edx/frontend-platform";
1111

1212
const CommentHeader = ({
1313
author,

src/discussions/posts/post/PostHeader.jsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useMemo } from 'react';
22
import PropTypes from 'prop-types';
3-
3+
import { getConfig } from "@edx/frontend-platform";
44
import { Avatar, Badge, Icon } from '@openedx/paragon';
55
import { Question } from '@openedx/paragon/icons';
66
import classNames from 'classnames';
@@ -11,7 +11,6 @@ import { AvatarOutlineAndLabelColors, ThreadType } from '../../../data/constants
1111
import { AuthorLabel } from '../../common';
1212
import { useAlertBannerVisible } from '../../data/hooks';
1313
import messages from './messages';
14-
import {getConfig} from "@edx/frontend-platform";
1514

1615
export const PostAvatar = React.memo(({
1716
author, postType, authorLabel, fromPostLink, read, postUsers,

0 commit comments

Comments
 (0)