Skip to content

Commit f443176

Browse files
committed
formatting
1 parent 03206d6 commit f443176

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

frontend/src/components/views/Graph.svelte

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import { fade } from "svelte/transition";
55
66
import type { Editor } from "@graphite/editor";
7-
import type { IconName } from "@graphite/icons";
87
import type { DefinitionIdentifier, FrontendGraphInput, FrontendGraphOutput, FrontendNode } from "@graphite/messages";
98
import type { NodeGraphState } from "@graphite/state-providers/node-graph";
109
@@ -13,7 +12,6 @@
1312
import LayoutCol from "@graphite/components/layout/LayoutCol.svelte";
1413
import IconButton from "@graphite/components/widgets/buttons/IconButton.svelte";
1514
import TextButton from "@graphite/components/widgets/buttons/TextButton.svelte";
16-
import IconLabel from "@graphite/components/widgets/labels/IconLabel.svelte";
1715
import TextLabel from "@graphite/components/widgets/labels/TextLabel.svelte";
1816
1917
const GRID_COLLAPSE_SPACING = 10;
@@ -159,11 +157,11 @@
159157
}
160158
161159
function nodeNameTooltipLabel(node: FrontendNode): string {
162-
let name = node.displayName
163-
if (node.displayName !== node.implementationName ){
164-
name += ` (${node.implementationName})`
160+
let name = node.displayName;
161+
if (node.displayName !== node.implementationName ) {
162+
name += ` (${node.implementationName})`;
165163
}
166-
return name
164+
return name;
167165
}
168166
169167
function validTypesText(value: FrontendGraphInput): string {

0 commit comments

Comments
 (0)