Skip to content

Commit 51cf417

Browse files
author
eveningwater.123
committed
fix: 修复 Prettier 格式检查问题
- 格式化 Header.tsx 文件以符合 Prettier 规范 - 更新 .prettierignore 文件,忽略 .next、node_modules 和 build 目录 - 确保 pnpm run test:format 命令能够成功通过
1 parent 8bf998d commit 51cf417

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

website/components/layouts/Header/Header.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function LanguageSelector() {
8383
d="m0 0 16 11h61 61 61 61 60L47 37h61 61 60 61L16 63h61 61 61 61 60L47 89h61 61 60 61L16 115h61 61 61 61 60L47 141h61 61 60 61L16 166h61 61 61 61 60L47 192h61 61 60 61L16 218h61 61 61 61 60z"
8484
/>
8585
</svg>
86-
<span className='inline-flex w-56 justify-between ml-1'>
86+
<span className="inline-flex w-56 justify-between ml-1">
8787
<span>English</span>
8888
<span className="flex-grow text-right mx-3">(Official)</span>
8989
<span></span>
@@ -114,14 +114,13 @@ function LanguageSelector() {
114114
<path d="m255.2 255.9-2 26.7 24.9 10.1-26.1 6.4-1.9 26.8-14.1-22.8-26.1 6.4 17.3-20.5-14.2-22.7 24.9 10.1z"></path>
115115
</g>
116116
</svg>
117-
<span className='inline-flex w-56 justify-between ml-1'>
117+
<span className="inline-flex w-56 justify-between ml-1">
118118
<span>中文文档</span>
119119
<span className="flex-grow text-right mx-3">(Community)</span>
120120
<span>👥</span>
121121
</span>
122122
</div>
123123
</a>
124-
125124
</div>
126125
)}
127126
</div>

0 commit comments

Comments
 (0)