Update src/plugins/notesSearcher/components/NotesDataButton.tsx

Co-authored-by: dolfies <jeyalfie47@gmail.com>
This commit is contained in:
vishnyanetchereshnya 2024-07-12 07:51:59 +03:00 committed by GitHub
parent 16d349e6ed
commit 1502ae688f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,14 +1,14 @@
/*
* Vencord, a Discord client mod
* Copyright (c) 2024 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import { LazyComponent } from "@utils/react";
import { findExportedComponentLazy } from "@webpack";
import { React } from "@webpack/common";
import { NotesDataIcon } from "./Icons";
/*
* Vencord, a Discord client mod
* Copyright (c) 2024 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import { LazyComponent } from "@utils/react";
import { findExportedComponentLazy } from "@webpack";
import { React } from "@webpack/common";
import { NotesDataIcon } from "./Icons";
import { openNotesDataModal } from "./NotesDataModal";
const HeaderBarIcon = findExportedComponentLazy("Icon", "Divider");
@ -18,7 +18,7 @@ export const OpenNotesDataButton = LazyComponent(() => React.memo(() => {
<HeaderBarIcon
className="vc-notes-searcher-toolbox-button"
onClick={() => openNotesDataModal()}
tooltip={"Open Notes Data"}
tooltip={"View Notes"}
icon={NotesDataIcon}
/>
);