Remove PR Console Logs

This commit is contained in:
thororen1234 2024-10-28 12:18:07 -04:00
parent 2097d630a9
commit 5fbf689bd4

View file

@ -24,15 +24,12 @@ const settings = definePluginSettings({
description: "opened by default",
default: false,
onChange: (store: { open: boolean; }) => {
console.log("changing open", store.open);
hidechatbuttonsopen = store.open;
}
},
});
// id={"menu-button-" + (props.open ? "close" : "open")}
function HideToggleButton(props: { open: boolean | undefined, onClick: MouseEventHandler<HTMLButtonElement>; }) {
console.log(props.open);
return (<ChatBarButton
onClick={props.onClick}
tooltip={props.open ? "Close" : "Open"}
@ -65,7 +62,6 @@ function buttonsInner(buttons: ButtonReactNode[]) {
const [open, setOpen] = useState(hidechatbuttonsopen);
useMemo(() => {
console.log("useMemo: changing open", open);
hidechatbuttonsopen = open;
}, [open]);