refactor(frontend): update import paths for CredentialsGroupedView

### Summary
This commit refactors the import paths for the `CredentialsGroupedView` component across multiple files to ensure consistency and correct referencing.

### Key Changes
- Updated import statements in `RunInputDialog.tsx` and `ModalRunSection.tsx` to point to the correct file path for `CredentialsGroupedView`.
- Removed the now obsolete index file for `CredentialsGroupedView`.

### Benefits
- **Improved Code Clarity**: Ensures that the component is imported from the correct location, reducing potential errors.
- **Streamlined Imports**: Consolidates the import structure for better maintainability.

### Testing
- Verified that the components render correctly with the updated import paths and that no functionality was broken by these changes.
This commit is contained in:
abhi1992002
2026-01-19 12:29:35 +05:30
parent cb964eed25
commit 47a6093619
4 changed files with 3 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ import { useRunInputDialog } from "./useRunInputDialog";
import { CronSchedulerDialog } from "../CronSchedulerDialog/CronSchedulerDialog";
import { useTutorialStore } from "@/app/(platform)/build/stores/tutorialStore";
import { useEffect } from "react";
import { CredentialsGroupedView } from "@/components/contextual/CredentialsInput/components/CredentialsGroupedView";
import { CredentialsGroupedView } from "@/components/contextual/CredentialsInput/components/CredentialsGroupedView/CredentialsGroupedView";
export const RunInputDialog = ({
isOpen,

View File

@@ -11,7 +11,7 @@ import { useCallback, useMemo, useState } from "react";
import { useNodeStore } from "@/app/(platform)/build/stores/nodeStore";
import { useToast } from "@/components/molecules/Toast/use-toast";
import { useReactFlow } from "@xyflow/react";
import { CredentialField } from "@/components/contextual/CredentialsInput/components/CredentialsGroupedView";
import type { CredentialField } from "@/components/contextual/CredentialsInput/components/CredentialsGroupedView/helpers";
export const useRunInputDialog = ({
setIsOpen,

View File

@@ -1,5 +1,5 @@
import { Input } from "@/components/atoms/Input/Input";
import { CredentialsGroupedView } from "@/components/contextual/CredentialsInput/components/CredentialsGroupedView";
import { CredentialsGroupedView } from "@/components/contextual/CredentialsInput/components/CredentialsGroupedView/CredentialsGroupedView";
import { InformationTooltip } from "@/components/molecules/InformationTooltip/InformationTooltip";
import { useMemo } from "react";
import { RunAgentInputs } from "../../../RunAgentInputs/RunAgentInputs";

View File

@@ -1,2 +0,0 @@
export { CredentialsGroupedView } from "./CredentialsGroupedView";
export type { CredentialField } from "./helpers";