fix: After renaming collection, url does not update

This commit is contained in:
Tom Moor
2021-10-24 17:57:17 -07:00
parent bb36425175
commit 1d6bae05e6
3 changed files with 10 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
import { HocuspocusProvider, WebSocketStatus } from "@hocuspocus/provider";
import * as React from "react";
import { useTranslation } from "react-i18next";
import { useHistory } from "react-router";
import { useHistory } from "react-router-dom";
import { IndexeddbPersistence } from "y-indexeddb";
import * as Y from "yjs";
import Editor, { type Props as EditorProps } from "components/Editor";