Skip to content

Commit 2666a3f

Browse files
committed
import hooks from theme
1 parent 38b4fb1 commit 2666a3f

File tree

1 file changed

+1
-2
lines changed
  • packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/MethodEndpoint

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
import React from "react";
99

1010
import BrowserOnly from "@docusaurus/BrowserOnly";
11-
12-
import { useTypedSelector } from "../../ApiItem/hooks";
11+
import { useTypedSelector } from "@theme/ApiItem/hooks";
1312

1413
function colorForMethod(method: string) {
1514
switch (method.toLowerCase()) {

0 commit comments

Comments
 (0)