mirror of
https://github.com/Vendicated/Vencord.git
synced 2024-09-20 06:30:35 +00:00
Update src/plugins/notesSearcher/components/NotesDataButton.tsx
Co-authored-by: dolfies <jeyalfie47@gmail.com>
This commit is contained in:
parent
16d349e6ed
commit
1502ae688f
1 changed files with 12 additions and 12 deletions
|
@ -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}
|
||||
/>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue