Skip to content

Commit 513ab3e

Browse files
committed
change to tsx and fix for preact
1 parent 510f37c commit 513ab3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/feedback-screenshot/src/screenshot.ts renamed to packages/feedback-screenshot/src/screenshot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const _feedbackScreenshotIntegration = ((options: Partial<FeedbackScreens
2727
return { el: options.el || WINDOW.document.createElement('div'), props: options.props || null };
2828
},
2929
renderScreenshotWidget: (options: FeedbackScreenshotOptions) => {
30-
return render(h(Hello, null), options.el);
30+
return render(<Hello />, options.el);
3131
},
3232
};
3333
}) satisfies IntegrationFn;

0 commit comments

Comments
 (0)