docs: fix copy in code blocks with tabs (#10123)

* docs: fix copy in code blocks with tabs

* fix lint error
This commit is contained in:
Shahed Nasser
2024-11-15 18:59:46 +02:00
committed by GitHub
parent 1fb2998620
commit b0c6efa98b
2 changed files with 42 additions and 9 deletions

View File

@@ -13,6 +13,7 @@ export const Npm2YarnCode = ({ npmCode, ...rest }: Npm2YarnCodeProps) => {
const lang = "bash"
const { title = "", ...codeOptions } = rest
codeOptions.hasTabs = true
const tabs = [
{