Skip to content

Commit

Permalink
fix(feedback): Add missing h import in ScreenshotEditor (#12713) (#…
Browse files Browse the repository at this point in the history
…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 <ryan.albrecht@sentry.io>
  • Loading branch information
andreiborza and ryan953 authored Jul 8, 2024
1 parent aded253 commit 3883517
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/* eslint-disable max-lines */
import type { FeedbackInternalOptions, FeedbackModalIntegration } from '@sentry/types';
import type { ComponentType, VNode, h as hType } from 'preact';
// biome-ignore lint/nursery/noUnusedImports: reason
import { h } from 'preact'; // eslint-disable-line @typescript-eslint/no-unused-vars
import type * as Hooks from 'preact/hooks';
import { DOCUMENT, WINDOW } from '../../constants';
import { createScreenshotInputStyles } from './ScreenshotInput.css';
Expand Down

0 comments on commit 3883517

Please sign in to comment.