Skip to content

Commit

Permalink
chore(spell): fix spell check error
Browse files Browse the repository at this point in the history
  • Loading branch information
sa03 committed Jun 17, 2024
1 parent 2195be3 commit 2122d63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions script/plugin-tdoc/md-to-wc.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default async function mdToReact(options) {
return { code: result.code, map: result.map };
}

const DEAULT_TABS = [
const DEFAULT_TABS = [
{ tab: 'demo', name: '示例' },
{ tab: 'api', name: 'API' },
{ tab: 'design', name: '指南' },
Expand All @@ -147,7 +147,7 @@ async function customRender({ source, file, md }) {
description: '',
isComponent: false,
tdDocHeader: true,
tdDocTabs: DEAULT_TABS,
tdDocTabs: DEFAULT_TABS,
apiFlag: /#+\s*API/,
docClass: '',
lastUpdated,
Expand Down
2 changes: 1 addition & 1 deletion site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
// }
// }

// function toogleDark() {
// function toggleDark() {
// if (document.documentElement.classList.contains("dark")) {
// localStorage.theme = "light";
// walkDOMAndToggleDark(document.body, true)
Expand Down

0 comments on commit 2122d63

Please sign in to comment.