-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c2c1ff3
commit 7c6cbfc
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
code/frameworks/nextjs/src/routing/app-router-provider-mock.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import React from 'react'; | ||
|
||
// The mock is used for Next.js < 13, where the AppRouterProvider doesn't exist | ||
export const AppRouterProvider: React.FC<React.PropsWithChildren> = ({ children }) => { | ||
export const AppRouterProvider: React.FC<React.PropsWithChildren<{}>> = ({ children }) => { | ||
return <>{children}</>; | ||
}; |