diff --git a/packages/features/team-accounts/src/hooks/use-team-account-workspace.ts b/packages/features/team-accounts/src/hooks/use-team-account-workspace.ts index ec29b899a..a9dbeb528 100644 --- a/packages/features/team-accounts/src/hooks/use-team-account-workspace.ts +++ b/packages/features/team-accounts/src/hooks/use-team-account-workspace.ts @@ -5,16 +5,16 @@ import { useContext } from 'react'; import { TeamAccountWorkspaceContext } from '../components'; /** - * @name useAccountWorkspace + * @name useTeamAccountWorkspace * @description A hook to access the account workspace data. * @returns The account workspace data. */ -export function useAccountWorkspace() { +export function useTeamAccountWorkspace() { const ctx = useContext(TeamAccountWorkspaceContext); if (!ctx) { throw new Error( - 'useAccountWorkspace must be used within a TeamAccountWorkspaceContext.Provider. This is only provided within the account workspace /home/[account]', + 'useTeamAccountWorkspace must be used within a TeamAccountWorkspaceContext.Provider. This is only provided within the account workspace /home/[account]', ); }