import React from 'react';
import { Organization } from '@/types.ts';
import SimilarOrganizations from '@/components/organization/SimilarOrganizations.tsx';

interface OrganizationSidebarProps {
  organization: Organization;
  similarOrgs: Organization[];
  onSelectOrg: (org: Organization) => void;
}

const OrganizationSidebar = ({ similarOrgs, onSelectOrg }: OrganizationSidebarProps) => {
  return <SimilarOrganizations organizations={similarOrgs} onSelectOrg={onSelectOrg} />;
};

export default React.memo(OrganizationSidebar);
