Skip to content

Commit

Permalink
Change jsx config to not depend on react/jsx-runtime
Browse files Browse the repository at this point in the history
Fixes #2
  • Loading branch information
timolins committed Oct 27, 2022
1 parent 32c734a commit 75a6e4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/web/src/react.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useEffect } from 'react';
import React, { useEffect } from 'react';
import { inject } from './generic';
import type { BeforeSend } from './types';

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"noUnusedLocals": true,
"skipLibCheck": true,
"sourceMap": true,
"jsx": "react-jsx",
"jsx": "react",
"moduleResolution": "node"
}
}

0 comments on commit 75a6e4f

Please sign in to comment.