Skip to content

Commit 7b94d5f

Browse files
xiaojunjunxiaojunjun
authored andcommitted
Fix build error: remove unused isMac variable
1 parent f0a0d51 commit 7b94d5f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/components/TabBar.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ const tabsContainer = ref<HTMLDivElement | null>(null);
1515
const editingTabId = ref<string | null>(null);
1616
const originalName = ref("");
1717
18-
// macOS detection for traffic light UI
19-
const isMac = computed(() => navigator.userAgent.includes("Macintosh"));
18+
2019
2120
// State for traffic light button hover/press
2221
const closeState = ref<"normal" | "hover" | "press">("normal");

0 commit comments

Comments
 (0)