Remove duplicated call of `titleBar.appendChild(logo);`.
This commit is contained in:
Lulu Nabi
2024-01-29 15:50:41 +03:00
committed by GitHub
parent b3c1aa6b4b
commit 0d61cf906d

View File

@ -71,8 +71,6 @@ export const onRendererLoad = async ({
if (!isMacOS) titleBar.appendChild(logo);
document.body.appendChild(titleBar);
titleBar.appendChild(logo);
const addWindowControls = async () => {
// Create window control buttons
const minimizeButton = document.createElement('button');