Skip to content

Commit e5ac8fa

Browse files
committed
Fix config and import order
1 parent 296b186 commit e5ac8fa

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

demo/docusaurus.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ import { myCustomApiMdGenerator } from "./customMdGenerators";
99
const config: Config = {
1010
future: {
1111
experimental_faster: (process.env.DOCUSAURUS_FASTER ?? "true") === "true",
12-
v4: {
13-
removeLegacyPostBuildHeadAttribute: true,
14-
},
12+
v4: true,
1513
},
1614

1715
title: "Docusaurus OpenAPI Docs",

packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/ApiCodeBlock/CopyButton/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* ========================================================================== */
77

88
import React, { useCallback, useState, useRef, useEffect } from "react";
9+
910
import { translate } from "@docusaurus/Translate";
1011
import clsx from "clsx";
1112
import copy from "copy-text-to-clipboard";

0 commit comments

Comments
 (0)