Skip to content

Commit 800c1b1

Browse files
authored
Merge pull request #949 from PaloAltoNetworks/method-endpoint
Import MethodEndpoint hooks from @theme
2 parents 38b4fb1 + 2666a3f commit 800c1b1

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)