Skip to content

Commit

Permalink
fix undefined organizations on settings data tab (Kong#6907)
Browse files Browse the repository at this point in the history
  • Loading branch information
gatzjames authored Dec 6, 2023
1 parent 64dab5a commit 6fa7e5d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ export const ImportExport: FC<Props> = ({ hideSettingsModal }) => {
projectId,
workspaceId,
} = useParams() as { organizationId: string; projectId: string; workspaceId?: string };
const { organizations } = useOrganizationLoaderData();
const organizationData = useOrganizationLoaderData();
const organizations = organizationData?.organizations || [];

const untrackedProjectsFetcher = useFetcher<LoaderData>();

Expand Down

0 comments on commit 6fa7e5d

Please sign in to comment.