|
As of this moment the code of the import classNames from 'classnames';
import useConnectors from '@/hooks/use-connectors';
import { LoadingIcon } from '@/shared/components/LoadingLayer';
import styles from './index.module.scss';
type Props = {
readonly className?: string;
readonly connectorId: string;
readonly isLoading?: boolean;
};
const SocialLanding = ({ className, connectorId, isLoading = false }: Props) => {
const { findConnectorById, getConnectorLogo } = useConnectors();
const result = findConnectorById(connectorId);
return (
<div className={classNames(styles.container, className)}>
<div className={styles.connector}>
{result ? <img src={getConnectorLogo(result)} alt="logo" /> : connectorId}
</div>
{isLoading && <LoadingIcon />}
</div>
);
};
export default SocialLanding;It makes the Google logo appear for a fraction of a second when I sign in using the Google connector, but still very noticeable. I was able to capture that moment:
The code looks very intentional, but I don't understand the reason. What is the point? Couldn't it be just a loader? |
Answered by
simeng-li
Mar 5, 2026
Replies: 1 comment
|
Thanks for your feedback. This might be due to some legacy product design decisions, we’ll take a look~ |
0 replies
Answer selected by
goliney
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Thanks for your feedback. This might be due to some legacy product design decisions, we’ll take a look~