mirror of
https://github.com/Vendicated/Vencord
synced 2024-09-13 04:29:24 -04:00
bugfix
This commit is contained in:
parent
e41fed6372
commit
4d1cf661f5
1 changed files with 2 additions and 2 deletions
|
@ -56,11 +56,11 @@ export function NotesDataModal({ modalProps, close }: {
|
|||
const [usersNotesData, refreshNotesData] = useReducer(() => {
|
||||
return Object.entries(getNotes())
|
||||
.map<[string, string]>(([userId, { note }]) => [userId, note])
|
||||
.filter((([_, note]) => note !== ""));
|
||||
.filter((([_, note]) => note && note !== ""));
|
||||
},
|
||||
Object.entries(getNotes())
|
||||
.map<[string, string]>(([userId, { note }]) => [userId, note])
|
||||
.filter((([_, note]) => note !== ""))
|
||||
.filter((([_, note]) => note && note !== ""))
|
||||
);
|
||||
|
||||
RefreshNotesDataEx = refreshNotesData;
|
||||
|
|
Loading…
Reference in a new issue