disable redoc url sync because it causes issues with hashrouter

This commit is contained in:
Athou
2023-12-29 12:11:33 +01:00
parent a491b95a02
commit 39ba4a1c97

View File

@@ -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 (