Skip to content

Commit

Permalink
Update couple comments
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Ohlsen <[email protected]>
  • Loading branch information
ohltyler committed Sep 29, 2023
1 parent 83e5078 commit bd5325e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions public/pages/workflow_detail/workspace/workspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ export function Workspace(props: WorkspaceProps) {
},
};

// TODO: add logic to add node into the redux datastore

setNodes((nds) => nds.concat(newNode));
},
// eslint-disable-next-line react-hooks/exhaustive-deps
Expand Down
4 changes: 3 additions & 1 deletion public/store/reducers/workspace_reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import { createSlice } from '@reduxjs/toolkit';
import { IComponent } from '../../../common';
import { KnnIndex, TextEmbeddingProcessor } from '../../component_types';

// TODO: should be fetched from server-side
// TODO: should be fetched from server-side. This will be the list of all
// available components that the framework offers. This will be used in the component
// library to populate the available components to drag-and-drop into the workspace.
const dummyComponents = [
new TextEmbeddingProcessor(),
new KnnIndex(),
Expand Down

0 comments on commit bd5325e

Please sign in to comment.