Improve the tooltips on the call lobby join button (#9428)

Currently they display a redundant 'Join' tooltip on hover, and place the tooltip on the left. This removes the redundant tooltip and places the tooltip below the button, which looks a bit more balanced.
This commit is contained in:
Robin
2022-10-17 03:58:38 -04:00
committed by GitHub
parent 72c42482f9
commit 1d1860842e

View File

@@ -246,9 +246,9 @@ export const Lobby: FC<LobbyProps> = ({ room, joinCallButtonDisabled, joinCallBu
kind="primary"
disabled={connecting || joinCallButtonDisabled}
onClick={onConnectClick}
title={_t("Join")}
label={_t("Join")}
tooltip={connecting ? _t("Connecting") : joinCallButtonTooltip}
alignment={Alignment.Bottom}
/>
</div>;
};