mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Fixed TeamsProvider not working.
This commit is contained in:
parent
46a57183a1
commit
91e679643f
2 changed files with 2 additions and 2 deletions
|
|
@ -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>;
|
||||
Loading…
Reference in a new issue