fix: typos (#1526)

This commit is contained in:
Lino Le Van
2023-07-26 13:09:42 +00:00
committed by GitHub
parent 1ed93cec88
commit 5ba19abe13
11 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
export default function StringEventIsland() {
return (
<button // @ts-ignore - we don't officialy recommend this, but lots of
<button // @ts-ignore - we don't officially recommend this, but lots of
// apps pre Fresh 1.2 use string based click handlers.
onClick="document.querySelector('p').textContent = 'it works'">
click me
@@ -2,7 +2,7 @@ export default function Page() {
return (
<div>
<p>it doesn't work</p>
<button // @ts-ignore - we don't officialy recommend this, but lots of
<button // @ts-ignore - we don't officially recommend this, but lots of
// apps pre Fresh 1.2 use string based click handlers.
onClick="document.querySelector('p').textContent = 'it works'">
click me