From e78be72765b9576fa2be90ec572f7ffeb2a4f288 Mon Sep 17 00:00:00 2001 From: victoria Date: Wed, 13 Nov 2024 14:26:48 -0500 Subject: [PATCH] Update docs/guides/force-organizations.mdx Co-authored-by: Alexis Aguilar <98043211+alexisintech@users.noreply.github.com> --- docs/guides/force-organizations.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/force-organizations.mdx b/docs/guides/force-organizations.mdx index 6b725ffaf4..ec0c39201e 100644 --- a/docs/guides/force-organizations.mdx +++ b/docs/guides/force-organizations.mdx @@ -113,7 +113,7 @@ This guide will be written for Next.js applications using App Router, but the sa In the case of [prebuilt components](/docs/components/overview), an organization will _automatically_ be set as active each time the user creates an organization, accepts an invitation, or selects a membership from the organization switcher. In the case of custom flows, you will need to implement the logic for setting an organization as active. The [`useOrganizationList()`](/docs/references/react/use-organization-list) hook provides a `setActive` method to help you with this. - In the example below, a custom organization switcher is created. It allows a user to select an organization from a list of their memberships. The `useOrganizationList()` hook is used to fetch a list of the user's memberships, and the `setActive` method is used to set the selected organization as active. + In the following example, a custom organization switcher is created. It allows a user to select an organization from a list of their memberships. The `useOrganizationList()` hook is used to fetch a list of the user's memberships, and the `setActive` method is used to set the selected organization as active. > [!WARNING] > Setting an active organization can only be performed client-side.