Fixed TeamsProvider not working.
This commit is contained in:
5
src/app/(main)/teams/[teamId]/layout.tsx
Normal file
5
src/app/(main)/teams/[teamId]/layout.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import TeamProvider from './TeamProvider';
|
||||
|
||||
export default function ({ children, params: { teamId } }) {
|
||||
return <TeamProvider teamId={teamId}>{children}</TeamProvider>;
|
||||
}
|
||||
Reference in New Issue
Block a user