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.
1 parent 464ca3e commit 1866564Copy full SHA for 1866564
packages/common/src/components/error_handler.tsx
@@ -42,7 +42,7 @@ const SimplifiedErrorFallback: React.FC<{ reset: () => void }> = ({ reset }) =>
42
43
export const ErrorFallback: React.FC<{ error: Error, reset: () => void }> = ({ error, reset }) => {
44
const InnerErrorFallback: React.FC<{ error: Error, reset: () => void }> = ({ error, reset }) => {
45
- const { debug } = CommonContext.useCommonContext();
+ const { debug } = CommonContext.Common.useCommonContext();
46
return debug ? <DetailedErrorFallback error={error} reset={reset} /> : <SimplifiedErrorFallback reset={reset} />;
47
}
48
0 commit comments