Skip to content

Commit 05ad3d8

Browse files
committed
docs: Remove unnecessary async keyword (fixes #933)
1 parent 48950b8 commit 05ad3d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/docs/environments/error-files.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Since the `error` file must be defined as a Client Component, you have to use [`
124124
import pick from 'lodash/pick';
125125
import {NextIntlClientProvider, useMessages} from 'next-intl';
126126

127-
export default async function LocaleLayout({children}) {
127+
export default function LocaleLayout({children}) {
128128
// ...
129129
const messages = useMessages();
130130

0 commit comments

Comments
 (0)