mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 09:25:43 +01:00
Revert popover changes
This commit is contained in:
committed by
René Pfeuffer
parent
16960d742e
commit
fb7aecd5e1
@@ -32,7 +32,7 @@ import { PrismAsyncLight as ReactSyntaxHighlighter, createElement } from "react-
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
import highlightingTheme from "../../syntax-highlighting";
|
||||
import { DateInput } from "../../useDateFormatter";
|
||||
import Popover from "./Popover";
|
||||
import AnnotatePopover from "./AnnotatePopover";
|
||||
import AnnotateLine from "./AnnotateLine";
|
||||
import { Action } from "./actions";
|
||||
import { determineLanguage } from "../../languages";
|
||||
@@ -128,7 +128,7 @@ const Annotate: FC<Props> = ({ source, repository, baseDate }) => {
|
||||
let popover = null;
|
||||
if ((state.onPopover || state.onLine) && state.annotation) {
|
||||
popover = (
|
||||
<Popover
|
||||
<AnnotatePopover
|
||||
annotation={state.annotation}
|
||||
dispatch={dispatch}
|
||||
offsetTop={state.offset}
|
||||
|
||||
Reference in New Issue
Block a user