Skip to content

Commit 3883517

Browse files
andreiborzaryan953
andauthored
fix(feedback): Add missing h import in ScreenshotEditor (#12713) (#12784)
This broke the `Add a screenshot` button on the user feedback, see #12713 This has been explicitly removed in favor of injecting `h` in #12535 but at that point it seems to be too late to do. Co-authored-by: Ryan Albrecht <[email protected]>
1 parent aded253 commit 3883517

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/* eslint-disable max-lines */
22
import type { FeedbackInternalOptions, FeedbackModalIntegration } from '@sentry/types';
33
import type { ComponentType, VNode, h as hType } from 'preact';
4+
// biome-ignore lint/nursery/noUnusedImports: reason
5+
import { h } from 'preact'; // eslint-disable-line @typescript-eslint/no-unused-vars
46
import type * as Hooks from 'preact/hooks';
57
import { DOCUMENT, WINDOW } from '../../constants';
68
import { createScreenshotInputStyles } from './ScreenshotInput.css';

0 commit comments

Comments
 (0)