diff --git a/front/components/poke/plugins/PluginList.tsx b/front/components/poke/plugins/PluginList.tsx index f1c463eacbbc..4eb0e9f67f85 100644 --- a/front/components/poke/plugins/PluginList.tsx +++ b/front/components/poke/plugins/PluginList.tsx @@ -1,4 +1,4 @@ -import { ScrollArea, Tooltip } from "@dust-tt/sparkle"; +import { Tooltip } from "@dust-tt/sparkle"; import type { PluginWorkspaceResource } from "@dust-tt/types"; import React, { useState } from "react"; diff --git a/front/lib/api/poke/plugins/workspaces/user_identity_merge.ts b/front/lib/api/poke/plugins/workspaces/user_identity_merge.ts index 19f98688e8c8..dc48b8f00efe 100644 --- a/front/lib/api/poke/plugins/workspaces/user_identity_merge.ts +++ b/front/lib/api/poke/plugins/workspaces/user_identity_merge.ts @@ -33,10 +33,6 @@ export const userIdentityMergePlugin = createPlugin( return new Err(new Error("Primary and secondary user IDs are required.")); } - if (primaryUserId === secondaryUserId) { - return new Err(new Error("Primary and secondary user IDs are the same.")); - } - const mergeResult = await mergeUserIdentities({ primaryUserId, secondaryUserId, diff --git a/front/lib/iam/users.ts b/front/lib/iam/users.ts index bd25346060c1..dc8d455fff7c 100644 --- a/front/lib/iam/users.ts +++ b/front/lib/iam/users.ts @@ -4,7 +4,6 @@ import { Err, Ok, sanitizeString } from "@dust-tt/types"; import type { PostIdentitiesRequestProviderEnum } from "auth0"; import { getAuth0ManagemementClient } from "@app/lib/api/auth0"; -import type { Authenticator } from "@app/lib/auth"; import type { ExternalUser, SessionWithUser } from "@app/lib/iam/provider"; import { UserModel } from "@app/lib/resources/storage/models/user"; import { generateRandomModelSId } from "@app/lib/resources/string_ids";