Fix deprecated message (#950)

This commit is contained in:
Fábio Rosado
2022-11-14 20:06:21 +00:00
committed by GitHub
parent da2728e6df
commit a9ca7106cb
4 changed files with 7 additions and 7 deletions

View File

@@ -22,8 +22,8 @@ export function make_PyInputBox(runtime: Runtime) {
async connectedCallback() {
const deprecationMessage = (
'<p>The element &lt;py-input&gt; is deprecated, ' +
'use &lt;input class="py-input"&gt; instead.</p>'
'The element <py-input> is deprecated, ' +
'use <input class="py-input"> instead.'
)
createDeprecationWarning(deprecationMessage, "py-input")
ensureUniqueId(this);