Update all non-major dependencies (#2479)

* Update all non-major dependencies

* prettier fixes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Timo <toger5@hotmail.de>
This commit is contained in:
renovate[bot]
2024-07-17 10:07:26 +02:00
committed by GitHub
parent 486430d1f0
commit e79cded57f
6 changed files with 514 additions and 493 deletions

View File

@@ -54,11 +54,11 @@ export const ProfileSettingsTab: FC<Props> = ({ client }) => {
const avatar = data.get("avatar");
const avatarSize =
typeof avatar == "string" ? avatar.length : avatar?.size ?? 0;
typeof avatar == "string" ? avatar.length : (avatar?.size ?? 0);
const displayName =
typeof displayNameDataEntry == "string"
? displayNameDataEntry
: displayNameDataEntry?.name ?? null;
: (displayNameDataEntry?.name ?? null);
if (!displayName) {
return;