mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 15:35:11 +00:00
chore: fix linter issues
This commit is contained in:
parent
139b873c27
commit
dbda5f694a
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue