mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 23:38:32 +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
|
// Workaround for cases when it's not available
|
||||||
// (e.g when using MessageLinkEmkbeds)
|
// (e.g when using MessageLinkEmkbeds)
|
||||||
if (sticker == undefined) {
|
if (sticker === undefined) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -351,7 +351,7 @@ const messageContextMenuPatch: NavContextMenuPatchCallback = (children, props) =
|
||||||
|
|
||||||
// Workaround for incase the sticker or the server it's from is deleted.
|
// Workaround for incase the sticker or the server it's from is deleted.
|
||||||
// Allows the sticker to still be cloned, albeit less accurately.
|
// Allows the sticker to still be cloned, albeit less accurately.
|
||||||
if (fetchedSticker == undefined) {
|
if (fetchedSticker === undefined) {
|
||||||
return {
|
return {
|
||||||
"id": sticker?.id,
|
"id": sticker?.id,
|
||||||
"name": sticker?.name,
|
"name": sticker?.name,
|
||||||
|
|
Loading…
Add table
Reference in a new issue