Skip to content

Commit

Permalink
Fix react-native-razorpay test's JSX fragment usage
Browse files Browse the repository at this point in the history
It now requires an explicit import of React in order to use JSX fragments.

Here is the Typescript 5.7 PR that introduced this error:

microsoft/TypeScript#59933
  • Loading branch information
sandersn committed Oct 3, 2024
1 parent 24a32d6 commit 78047c7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import * as React from "react";
import { Button } from "react-native";
import RazorpayCheckout, { ErrorResponse } from "react-native-razorpay";

Expand Down

0 comments on commit 78047c7

Please sign in to comment.