Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit b6addc8

Browse files
committed
Default <ConfigTabs> to api tab
`cli` has been removed, so shouldn't be the default
1 parent 87e13bd commit b6addc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/content/components/mdx/config-tabs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ let tab;
2020
try {
2121
tab = localStorage.getItem("tab");
2222
} catch (e) {}
23-
document.documentElement.setAttribute("data-tab", tab || "cli");
23+
document.documentElement.setAttribute("data-tab", tab || "api");
2424
})();`;
2525

2626
function getTabFromStorage() {
2727
let tab;
2828
try {
2929
tab = localStorage.getItem("tab");
3030
} catch (e) {}
31-
return tab || "cli";
31+
return tab || "api";
3232
}
3333

3434
function setTab($tabs, tab) {

0 commit comments

Comments
 (0)