We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
untrack
1 parent d80ac0b commit df01b63Copy full SHA for df01b63
packages/solidjs/src/errorboundary.ts
@@ -1,6 +1,6 @@
1
import { captureException } from '@sentry/browser';
2
import type { Component, JSX } from 'solid-js';
3
-import { mergeProps, splitProps, untrack } from 'solid-js';
+import { mergeProps, splitProps } from 'solid-js';
4
import { createComponent } from 'solid-js/web';
5
6
type ErrorBoundaryProps = {
@@ -21,7 +21,7 @@ export function withSentryErrorBoundary(ErrorBoundary: Component<ErrorBoundaryPr
21
captureException(error);
22
23
const f = local.fallback;
24
- return typeof f === 'function' ? untrack(() => f(error, reset)) : f;
+ return typeof f === 'function' ? f(error, reset) : f;
25
};
26
27
return createComponent(ErrorBoundary, mergeProps({ fallback }, others));
0 commit comments