Skip to content

Commit 6e36cb1

Browse files
committed
bump to 0.4.1
1 parent 9c09657 commit 6e36cb1

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

packages/scan/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-scan",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "Scan your React app for renders",
55
"keywords": [
66
"react",

packages/scan/src/auto.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ import { IS_CLIENT } from "~web/utils/constants";
66
import { scan } from "./index";
77

88
if (IS_CLIENT) {
9-
scan({
10-
dangerouslyForceRunInProduction: true
11-
});
9+
scan();
1210
window.reactScan = scan;
1311
}
1412

packages/scan/src/web/widget/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ export const Widget = () => {
430430
let rafId: number | null = null;
431431
let hasExpanded = false;
432432

433-
const DRAG_THRESHOLD = 50;
433+
const DRAG_THRESHOLD = 50;
434434

435435
const handlePointerMove = (e: globalThis.PointerEvent) => {
436436
if (hasExpanded || rafId) return;

0 commit comments

Comments
 (0)