Skip to content

Commit efdfd94

Browse files
committed
PR comments
1 parent c7e3e01 commit efdfd94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/feedback/src/screenshot/components/ScreenshotEditor.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ export function ScreenshotEditorFactory({
7373
options,
7474
}: FactoryParams): ComponentType<Props> {
7575
const useTakeScreenshot = useTakeScreenshotFactory({ hooks });
76+
const CropCorner = CropCornerFactory({ h });
77+
const PenIcon = PenIconFactory({ h });
7678

7779
return function ScreenshotEditor({ onError }: Props): VNode {
7880
const styles = hooks.useMemo(() => ({ __html: createScreenshotInputStyles(options.styleNonce).innerText }), []);
79-
const CropCorner = CropCornerFactory({ h });
80-
const PenIcon = PenIconFactory({ h });
8181

8282
const canvasContainerRef = hooks.useRef<HTMLDivElement>(null);
8383
const cropContainerRef = hooks.useRef<HTMLDivElement>(null);
@@ -411,7 +411,7 @@ export function ScreenshotEditorFactory({
411411
setIsAnnotating(!isAnnotating);
412412
}}
413413
>
414-
<PenIcon></PenIcon>
414+
<PenIcon />
415415
</button>
416416
</div>
417417
)}

0 commit comments

Comments
 (0)