export default function ListDeployments()

in src/azurechat/features/chat/chat-ui/chat-empty-state/chat-deployment-selector.tsx [11:21]


export default function ListDeployments(deployments : DeploymentConfig[]) : any {
    const chatDeployments = deployments.filter(d => d.type == "chat");
    const listItems = chatDeployments.map((deployment) =>
      <SelectItem 
        value={deployment.deployment}>
          {deployment.deployment}
      </SelectItem>
    );
    return listItems;

  };