diff --git a/electron/main.js b/electron/main.js index 5b1c5ac9..7c78f4c6 100644 --- a/electron/main.js +++ b/electron/main.js @@ -131,7 +131,8 @@ const HEIGHT = 700; * Creates the main window */ const createMainWindow = async () => { - const width = isDev ? 840 : APP_WIDTH; + const width = APP_WIDTH; + // const width = isDev ? 840 : APP_WIDTH; mainWindow = new BrowserWindow({ title: 'Pearl', resizable: false, @@ -209,9 +210,9 @@ const createMainWindow = async () => { logger.electron('Store IPC failed:', JSON.stringify(e)); } - if (isDev) { - mainWindow.webContents.openDevTools(); - } + // if (isDev) { + // mainWindow.webContents.openDevTools(); + // } if (isDev) { mainWindow.loadURL(`http://localhost:${appConfig.ports.dev.next}`); diff --git a/frontend/components/MainPage/header/AgentButton.tsx b/frontend/components/MainPage/header/AgentButton.tsx index 0beac0ac..f45efb8f 100644 --- a/frontend/components/MainPage/header/AgentButton.tsx +++ b/frontend/components/MainPage/header/AgentButton.tsx @@ -314,6 +314,7 @@ export const AgentButton = () => { const { isEligibleForStaking, isAgentEvicted } = useStakingContractInfo(); return useMemo(() => { + return ; if (!hasInitialLoaded) { return