mirror of
https://github.com/Vendicated/Vencord.git
synced 2024-09-19 22:20:34 +00:00
Update src/plugins/notesSearcher/components/NotesDataRow.tsx
Co-authored-by: dolfies <jeyalfie47@gmail.com>
This commit is contained in:
parent
d0db4aa634
commit
7bb0bc4700
1 changed files with 15 additions and 15 deletions
|
@ -1,17 +1,17 @@
|
|||
/*
|
||||
* Vencord, a Discord client mod
|
||||
* Copyright (c) 2024 Vendicated and contributors
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import { classNameFactory } from "@api/Styles";
|
||||
import { openPrivateChannel, openUserProfile } from "@utils/discord";
|
||||
import { copyWithToast } from "@utils/misc";
|
||||
import { Alerts, Avatar, Button, ContextMenuApi, Menu, React, Text, TextArea, Tooltip, useState } from "@webpack/common";
|
||||
|
||||
import { updateNote } from "../data";
|
||||
import { UsersCache } from "../types";
|
||||
import { DeleteIcon, PopupIcon, RefreshIcon, SaveIcon } from "./Icons";
|
||||
/*
|
||||
* Vencord, a Discord client mod
|
||||
* Copyright (c) 2024 Vendicated and contributors
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import { classNameFactory } from "@api/Styles";
|
||||
import { openPrivateChannel, openUserProfile } from "@utils/discord";
|
||||
import { copyWithToast } from "@utils/misc";
|
||||
import { Alerts, Avatar, Button, ContextMenuApi, Menu, React, Text, TextArea, Tooltip, useState } from "@webpack/common";
|
||||
|
||||
import { updateNote } from "../data";
|
||||
import { UsersCache } from "../types";
|
||||
import { DeleteIcon, PopupIcon, RefreshIcon, SaveIcon } from "./Icons";
|
||||
import { LoadingSpinner } from "./LoadingSpinner";
|
||||
|
||||
const cl = classNameFactory("vc-notes-searcher-modal-");
|
||||
|
@ -30,7 +30,7 @@ export default ({ userId, userNotes: userNotesArg, refreshNotesData, usersCache
|
|||
id: userId,
|
||||
globalName: "Loading...",
|
||||
username: "Loading...",
|
||||
avatar: "https://discord.com/assets/0048cbfdd0b3ef186d22.png",
|
||||
avatar: "https://cdn.discordapp.com/embed/avatars/4.png",
|
||||
};
|
||||
|
||||
const [userNotes, setUserNotes] = useState(userNotesArg);
|
||||
|
|
Loading…
Reference in a new issue