Skip to content

Commit 9b819f6

Browse files
fix(ui): avoid jsx confusion on cast that prevent Storybook from running
1 parent a81c0a5 commit 9b819f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/inputs/MonacoEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
replaceRowsIcons(
231231
mutations.flatMap(({addedNodes}) => {
232232
const nodes = [...addedNodes] as (Node | HTMLElement)[];
233-
const maybeRows: HTMLElement[] = nodes.filter(n => (<HTMLElement>n).classList?.contains("monaco-list-row")) as HTMLElement[];
233+
const maybeRows: HTMLElement[] = nodes.filter(n => (n as HTMLElement).classList?.contains("monaco-list-row")) as HTMLElement[];
234234
235235
for(let node of nodes) {
236236
let maybeRow: HTMLElement | null = null;

0 commit comments

Comments
 (0)