mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
disable redoc url sync because it causes issues with hashrouter
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
import { Box } from "@mantine/core"
|
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() {
|
function ApiDocumentationPage() {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user