Skip to content

Commit 7fd0417

Browse files
committed
Fix ErrorDecoderContext usage in ErrorDecoderPage component
1 parent b9b6e0e commit 7fd0417

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/errors/[errorCode].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function ErrorDecoderPage({
2626
);
2727

2828
return (
29-
<ErrorDecoderContext.Provider value={{errorMessage, errorCode}}>
29+
<ErrorDecoderContext value={{errorMessage, errorCode}}>
3030
<Page
3131
toc={[]}
3232
meta={{
@@ -48,7 +48,7 @@ export default function ErrorDecoderPage({
4848
<ErrorDecoder />
4949
</MaxWidth> */}
5050
</Page>
51-
</ErrorDecoderContext.Provider>
51+
</ErrorDecoderContext>
5252
);
5353
}
5454

0 commit comments

Comments
 (0)