From 5854540e8c296644603acbcf7a8c1d44c1e6f918 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 7 Mar 2022 11:38:52 +0100 Subject: [PATCH] [Glitch, partial] Change appearance of account cards in web UI Port remaining changes from dba4be1038063845a74e83aaa85d6ab08d5625dd to glitch-soc Signed-off-by: Claire --- .../flavours/glitch/features/explore/suggestions.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/javascript/flavours/glitch/features/explore/suggestions.js b/app/javascript/flavours/glitch/features/explore/suggestions.js index 9dbf49b4f1..7e513fa96e 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 => ( + ))}
);