Skip to content

Commit

Permalink
feat: add env variable to display image
Browse files Browse the repository at this point in the history
  • Loading branch information
vladislavkeblysh committed Dec 10, 2024
1 parent e142ee9 commit d9fa9f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import React from 'react';

Check failure on line 1 in src/discussions/post-comments/comments/comment/CommentHeader.jsx

View workflow job for this annotation

GitHub Actions / tests

Run autofix to sort these imports!
import PropTypes from 'prop-types';

import { getConfig } from "@edx/frontend-platform";

Check failure on line 4 in src/discussions/post-comments/comments/comment/CommentHeader.jsx

View workflow job for this annotation

GitHub Actions / tests

Strings must use singlequote
import { Avatar } from '@openedx/paragon';
import classNames from 'classnames';

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

const CommentHeader = ({
author,
Expand Down
3 changes: 1 addition & 2 deletions src/discussions/posts/post/PostHeader.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useMemo } from 'react';

Check failure on line 1 in src/discussions/posts/post/PostHeader.jsx

View workflow job for this annotation

GitHub Actions / tests

Run autofix to sort these imports!
import PropTypes from 'prop-types';

import { getConfig } from "@edx/frontend-platform";

Check failure on line 3 in src/discussions/posts/post/PostHeader.jsx

View workflow job for this annotation

GitHub Actions / tests

Strings must use singlequote
import { Avatar, Badge, Icon } from '@openedx/paragon';
import { Question } from '@openedx/paragon/icons';
import classNames from 'classnames';
Expand All @@ -11,7 +11,6 @@ import { AvatarOutlineAndLabelColors, ThreadType } from '../../../data/constants
import { AuthorLabel } from '../../common';
import { useAlertBannerVisible } from '../../data/hooks';
import messages from './messages';
import {getConfig} from "@edx/frontend-platform";

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

0 comments on commit d9fa9f2

Please sign in to comment.