Skip to content

Commit

Permalink
Refactor code and update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
amirrr committed Feb 18, 2024
1 parent 7737731 commit a409a60
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ jobs:
strategy:
fail-fast: false
matrix:
containers: [1, 2] # Uses 2 parallel instances
containers: [1]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: client
- name: Install Dependencies
run: npm ci
working-directory: client
- name: Cypress run
uses: cypress-io/github-action@v6
with:
Expand Down
2 changes: 0 additions & 2 deletions client/src/components/Builder/DetailRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ const DetailRenderer: React.FC<DetailRendererProps> = ({
}: DetailRendererProps) => {
let components: ReactNode = null;

console.log(nodeType);

if (nodeType === "PaperInputNode") {
components = <PaperInputDescription />;
} else if (nodeType === "MultipleOutputNode") {
Expand Down
5 changes: 0 additions & 5 deletions client/src/components/Builder/Flow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,6 @@ const Flow = () => {
);
}, []);

useStore((state) => console.log(state.getNodes()));
useEffect(() => {
console.log("onConnect", edges);
}, [edges]);

const onDragOver = useCallback((event: any) => {
event.preventDefault();
event.dataTransfer.dropEffect = "move";
Expand Down

0 comments on commit a409a60

Please sign in to comment.