mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-19 05:43:35 -05:00
Fix?
This commit is contained in:
parent
7a612e5c13
commit
62d73e2ddc
1 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ import { getListeners } from "./utils";
|
||||||
|
|
||||||
const HeaderBarIcon = findExportedComponentLazy("Icon", "Divider");
|
const HeaderBarIcon = findExportedComponentLazy("Icon", "Divider");
|
||||||
|
|
||||||
function OpenLogsButton() {
|
function OpenSBLogsButton() {
|
||||||
return (
|
return (
|
||||||
<HeaderBarIcon
|
<HeaderBarIcon
|
||||||
className="chatBarLogIcon"
|
className="chatBarLogIcon"
|
||||||
|
@ -64,13 +64,13 @@ export default definePlugin({
|
||||||
if (Array.isArray(e.toolbar))
|
if (Array.isArray(e.toolbar))
|
||||||
return e.toolbar.push(
|
return e.toolbar.push(
|
||||||
<ErrorBoundary noop={true}>
|
<ErrorBoundary noop={true}>
|
||||||
<OpenLogsButton />
|
<OpenSBLogsButton />
|
||||||
</ErrorBoundary>
|
</ErrorBoundary>
|
||||||
);
|
);
|
||||||
|
|
||||||
e.toolbar = [
|
e.toolbar = [
|
||||||
<ErrorBoundary noop={true}>
|
<ErrorBoundary noop={true}>
|
||||||
<OpenLogsButton />
|
<OpenSBLogsButton />
|
||||||
</ErrorBoundary>,
|
</ErrorBoundary>,
|
||||||
e.toolbar,
|
e.toolbar,
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue