Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
newcat committed Feb 8, 2024
1 parent 5e6224d commit 4938a49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/engine/src/topologicalSorting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export function sortTopologically(
sorted.push(n);
const nodesConnectedFromN = adjacency.get(n.id)!;
while (nodesConnectedFromN.size > 0) {
const mId: string = nodesConnectedFromN.values().next()!.value;
const mId: string = nodesConnectedFromN.values().next().value;
nodesConnectedFromN.delete(mId);
if (Array.from(adjacency.values()).every((connectedNodes) => !connectedNodes.has(mId))) {
const m = nodes.find((node) => node.id === mId)!;
Expand Down
2 changes: 1 addition & 1 deletion packages/renderer-vue/src/node/Node.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</slot>

<slot name="content">
<div class="__content" @keydown.delete.stop :class="classesContent">
<div class="__content" :class="classesContent" @keydown.delete.stop>
<!-- Outputs -->
<div class="__outputs">
<template v-for="output in displayedOutputs" :key="output.id">
Expand Down

0 comments on commit 4938a49

Please sign in to comment.