mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-07-18 01:56:12 +00:00
filter out undefined more
This commit is contained in:
@@ -383,6 +383,7 @@ export class Favorites {
|
||||
await this.save(saveImportance.low);
|
||||
}
|
||||
async addReactEmoji(nameOrID: string) {
|
||||
if (nameOrID === "undefined" || nameOrID === undefined) return;
|
||||
const obj = (this.emojiReactionFrecency[nameOrID] ??= {
|
||||
totalUses: 0,
|
||||
recentUses: [],
|
||||
|
||||
Reference in New Issue
Block a user