From: Eugen Rochko Date: Mon, 7 Mar 2022 10:38:52 +0000 (+0100) Subject: [Glitch, partial] Change appearance of account cards in web UI X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=23eee429842c5a743590f4b1bb5ed2665a7ec26d;p=mastodon.git [Glitch, partial] Change appearance of account cards in web UI Port remaining changes from dba4be1038063845a74e83aaa85d6ab08d5625dd to glitch-soc Signed-off-by: Claire --- diff --git a/app/javascript/flavours/glitch/features/explore/suggestions.js b/app/javascript/flavours/glitch/features/explore/suggestions.js index 9dbf49b4f..7e513fa96 100644 --- a/app/javascript/flavours/glitch/features/explore/suggestions.js +++ b/app/javascript/flavours/glitch/features/explore/suggestions.js @@ -1,7 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; -import Account from 'flavours/glitch/containers/account_container'; +import AccountCard from 'flavours/glitch/features/directory/components/account_card'; import LoadingIndicator from 'flavours/glitch/components/loading_indicator'; import { connect } from 'react-redux'; import { fetchSuggestions } from 'flavours/glitch/actions/suggestions'; @@ -29,9 +29,9 @@ class Suggestions extends React.PureComponent { const { isLoading, suggestions } = this.props; return ( -
- {isLoading ? () : suggestions.map(suggestion => ( - +
+ {isLoading ? : suggestions.map(suggestion => ( + ))}
);