+
{useMemo(
() =>
chatMessage === "" && lockChat ? (
@@ -169,7 +169,7 @@ export default function ChatMessage({
- Confirm deletion of {description ?? "component"}?
-
+ Confirm deletion of {description ?? "component"}?
Note: This action is irreversible.
diff --git a/src/frontend/src/modals/EditNodeModal/index.tsx b/src/frontend/src/modals/EditNodeModal/index.tsx
index e789e1ab8..619a6f7e2 100644
--- a/src/frontend/src/modals/EditNodeModal/index.tsx
+++ b/src/frontend/src/modals/EditNodeModal/index.tsx
@@ -165,8 +165,19 @@ const EditNodeModal = forwardRef(
)
) ?? false;
return (
-
+
- Note: This action is irreversible.
+ Note: This action is irreversible.
@@ -204,7 +204,9 @@ export default function ShareModal({
{children ? children : <>>}
Share
- Attention: API keys in specified fields are automatically removed upon sharing.
+ Attention: API keys in specified fields are automatically
+ removed upon sharing.
diff --git a/src/frontend/src/pages/MainPage/components/components/index.tsx b/src/frontend/src/pages/MainPage/components/components/index.tsx
index 234852388..65189fa8a 100644
--- a/src/frontend/src/pages/MainPage/components/components/index.tsx
+++ b/src/frontend/src/pages/MainPage/components/components/index.tsx
@@ -14,7 +14,6 @@ import {
import useAlertStore from "../../../../stores/alertStore";
import useFlowsManagerStore from "../../../../stores/flowsManagerStore";
import { FlowType } from "../../../../types/flow";
-import { STARTER_FOLDER_NAME } from "../../../../constants/constants";
export default function ComponentsComponent({
is_component = true,
diff --git a/src/frontend/src/pages/MainPage/index.tsx b/src/frontend/src/pages/MainPage/index.tsx
index 2574f03af..c6e233521 100644
--- a/src/frontend/src/pages/MainPage/index.tsx
+++ b/src/frontend/src/pages/MainPage/index.tsx
@@ -2,6 +2,8 @@ import { Group, ToyBrick } from "lucide-react";
import { useEffect, useState } from "react";
import { Outlet, useLocation, useNavigate } from "react-router-dom";
import DropdownButton from "../../components/DropdownButtonComponent";
+import NewFlowCardComponent from "../../components/NewFlowCardComponent";
+import ExampleCardComponent from "../../components/exampleComponent";
import IconComponent from "../../components/genericIconComponent";
import PageLayout from "../../components/pageLayout";
import SidebarNav from "../../components/sidebarComponent";
@@ -11,12 +13,10 @@ import {
MY_COLLECTION_DESC,
USER_PROJECTS_HEADER,
} from "../../constants/constants";
+import BaseModal from "../../modals/baseModal";
import useAlertStore from "../../stores/alertStore";
import useFlowsManagerStore from "../../stores/flowsManagerStore";
import { downloadFlows } from "../../utils/reactflowUtils";
-import BaseModal from "../../modals/baseModal";
-import ExampleCardComponent from "../../components/exampleComponent";
-import NewFlowCardComponent from "../../components/NewFlowCardComponent";
export default function HomePage(): JSX.Element {
const addFlow = useFlowsManagerStore((state) => state.addFlow);
const uploadFlow = useFlowsManagerStore((state) => state.uploadFlow);
@@ -41,8 +41,9 @@ export default function HomePage(): JSX.Element {
})
.then((id) => {
setSuccessData({
- title: `${is_component ? "Component" : "Flow"
- } uploaded successfully`,
+ title: `${
+ is_component ? "Component" : "Flow"
+ } uploaded successfully`,
});
if (!is_component) navigate("/flow/" + id);
})
@@ -117,24 +118,25 @@ export default function HomePage(): JSX.Element {