feat(ui): "CopyWorkflowLinkModal" -> "ShareWorkflowModal"

This commit is contained in:
psychedelicious
2024-10-10 13:15:48 +10:00
parent ac2476c63c
commit aa34dbe1e1
3 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ export const useShareWorkflow = () => {
return copyWorkflowLink;
};
export const CopyWorkflowLinkModal = () => {
export const ShareWorkflowModal = () => {
const workflowToShare = useStore($workflowToShare);
const projectUrl = useStore($projectUrl);
const { t } = useTranslation();

View File

@@ -14,7 +14,7 @@ import { useTranslation } from 'react-i18next';
import { PiDownloadSimpleBold, PiPencilBold, PiShareFatBold, PiTrashBold } from 'react-icons/pi';
import type { WorkflowRecordListItemDTO } from 'services/api/types';
import { useShareWorkflow } from './CopyWorkflowLinkModal';
import { useShareWorkflow } from './ShareWorkflowModal';
import { WorkflowListItemTooltip } from './WorkflowListItemTooltip';
export const WorkflowListItem = ({ workflow }: { workflow: WorkflowRecordListItemDTO }) => {