chore: fix linter issues

This commit is contained in:
Haruka 2024-12-18 18:51:51 +02:00
parent 139b873c27
commit dbda5f694a
No known key found for this signature in database
GPG key ID: C0F0780E671DB7D5

View file

@ -342,7 +342,7 @@ const messageContextMenuPatch: NavContextMenuPatchCallback = (children, props) =
// Workaround for cases when it's not available
// (e.g when using MessageLinkEmkbeds)
if (sticker == undefined) {
if (sticker === undefined) {
return;
}
@ -351,7 +351,7 @@ const messageContextMenuPatch: NavContextMenuPatchCallback = (children, props) =
// Workaround for incase the sticker or the server it's from is deleted.
// Allows the sticker to still be cloned, albeit less accurately.
if (fetchedSticker == undefined) {
if (fetchedSticker === undefined) {
return {
"id": sticker?.id,
"name": sticker?.name,