This commit is contained in:
thororen1234 2024-08-16 02:12:19 -04:00
parent 7a612e5c13
commit 62d73e2ddc

View file

@ -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,
]; ];