Skip to content

Commit 363791b

Browse files
Ajit Pratap SinghAjit Pratap Singh
authored andcommitted
fix(website): simplify SqlEditor aria-label — remove redundant fallbacks
1 parent 782b395 commit 363791b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/src/components/playground/SqlEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,5 +146,5 @@ export default function SqlEditor({
146146
}
147147
}, [value]);
148148

149-
return <div ref={containerRef} style={{ maxWidth: "100%", overflow: "hidden" }} aria-label={ariaLabel || placeholder || "SQL editor"} />;
149+
return <div ref={containerRef} style={{ maxWidth: "100%", overflow: "hidden" }} aria-label={ariaLabel} />;
150150
}

0 commit comments

Comments
 (0)