Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 6a82a1f

Browse files
t3chguyturt2live
andauthored
Update src/components/structures/LeftPanel.tsx
Co-authored-by: Travis Ralston <[email protected]>
1 parent 3e548bb commit 6a82a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/structures/LeftPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export default class LeftPanel extends React.Component<IProps, IState> {
123123
const avatarUrlProp = `url(${avatarUrl})`;
124124
if (!avatarUrl) {
125125
document.body.style.removeProperty("--avatar-url");
126-
} else if (avatarUrl && document.body.style.getPropertyValue("--avatar-url") !== avatarUrlProp) {
126+
} else if (document.body.style.getPropertyValue("--avatar-url") !== avatarUrlProp) {
127127
document.body.style.setProperty("--avatar-url", avatarUrlProp);
128128
}
129129
};

0 commit comments

Comments
 (0)