diff --git a/shared/editor/components/ImageZoom.tsx b/shared/editor/components/ImageZoom.tsx index 9a08d71d9..2abe38bb2 100644 --- a/shared/editor/components/ImageZoom.tsx +++ b/shared/editor/components/ImageZoom.tsx @@ -1,6 +1,7 @@ import { transparentize } from "polished"; import * as React from "react"; import styled, { createGlobalStyle } from "styled-components"; +import EventBoundary from "~/components/EventBoundary"; import { s } from "../../styles"; import { EditorStyleHelper } from "../styles/EditorStyleHelper"; @@ -35,12 +36,14 @@ export const ImageZoom = ({ caption, children }: Props) => { return ( - } - > -
{children}
-
+ + } + > +
{children}
+
+
); };