923817147387
remove dead INCOMING_PAIRING_REQUEST listener branch in App.tsx; remove debug console.log on settings tap
- time
- 2026-05-07 14:40 UTC · 5 months ago
- machine
- koh2
- parent
- 46415895f157
↓ peach-browser-92381714.tar.gzatlas at this save
files changed1 file
src/popup/App.tsx+1 −4src/popup/App.tsx+1 −4
@@ -484,9 +484,6 @@484484 setSettingsInitialSection("license");485485 setView("settings");486486 }487- if (msg?.type === "INCOMING_PAIRING_REQUEST") {488- void refreshIncomingPairing();489- }490487 };491488 chrome.runtime.onMessage.addListener(handleRuntimeMessage);492489 onCleanup(() => chrome.runtime.onMessage.removeListener(handleRuntimeMessage));@@ -1156,7 +1153,7 @@11561153 <div class="peach-chrome-actions">11571154 <button11581155 class="peach-btn peach-btn--ghost peach-btn--sm peach-icon-btn"1159- onClick={() => { console.log("[peach] settings tap"); setView("settings"); }}1156+ onClick={() => setView("settings")}11601157 aria-label="Settings"11611158 >11621159 <svg width="14" height="14" viewBox="0 0 14 14" fill="none">