Skip to content

Commit 1968f33

Browse files
committed
[Doc] Fix <Layout error> documentation
1 parent 43bc724 commit 1968f33

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

docs/Layout.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,8 @@ import { Title, useTranslate, useDefaultTitle, useResetErrorBoundaryOnLocationCh
170170

171171
export const MyError = ({
172172
error,
173-
resetErrorBoundary,
174173
...rest
175174
}) => {
176-
useResetErrorBoundaryOnLocationChange(resetErrorBoundary);
177-
178175
const translate = useTranslate();
179176
const defaultTitle = useDefaultTitle();
180177
return (

0 commit comments

Comments
 (0)