Fixed TeamsProvider not working.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
'use client';
|
||||
import { createContext, ReactNode, useEffect } from 'react';
|
||||
import { useTeam } from 'components/hooks';
|
||||
import { Loading } from 'react-basics';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
'use client';
|
||||
import TeamProvider from 'app/(main)/teams/[teamId]/TeamProvider';
|
||||
import TeamProvider from './TeamProvider';
|
||||
|
||||
export default function ({ children, params: { teamId } }) {
|
||||
return <TeamProvider teamId={teamId}>{children}</TeamProvider>;
|
||||
Reference in New Issue
Block a user