diff --git a/commafeed-client/src/pages/app/ApiDocumentationPage.tsx b/commafeed-client/src/pages/app/ApiDocumentationPage.tsx index cb8291b5..bab0683e 100644 --- a/commafeed-client/src/pages/app/ApiDocumentationPage.tsx +++ b/commafeed-client/src/pages/app/ApiDocumentationPage.tsx @@ -1,5 +1,10 @@ import { Box } from "@mantine/core" -import { RedocStandalone } from "redoc" +import { HistoryService, RedocStandalone } from "redoc" + +// disable redoc url sync because it causes issues with hashrouter +Object.defineProperty(HistoryService.prototype, "replace", { + value: () => {}, +}) function ApiDocumentationPage() { return (