fix: typos (#1526)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user