fix: Version tag should open new tab, related type improvements

closes #3737
This commit is contained in:
Tom Moor
2022-07-10 11:22:45 +02:00
parent aef62d1356
commit 465a8bd505
11 changed files with 27 additions and 23 deletions

View File

@@ -1,3 +1,4 @@
import { LocationDescriptor } from "history";
import { observer, useObserver } from "mobx-react";
import * as React from "react";
import { useTranslation } from "react-i18next";
@@ -12,7 +13,7 @@ import useStores from "~/hooks/useStores";
type Props = {
document: Document;
isDraft: boolean;
to?: string;
to?: LocationDescriptor;
rtl?: boolean;
};