Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit 7eb0fa9

Browse files
authored
Fix typo
Closes GH-28. Reviewed-by: Remco Haszing <remcohaszing@gmail.com> Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com> Reviewed-by: Titus Wormer <tituswormer@gmail.com>
1 parent aa96269 commit 7eb0fa9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ of the time.
190190
import {createElement} from 'react'
191191
import {renderToStaticMarkup} from 'react-dom/server'
192192
import {h} from 'hastscript'
193-
import {toH} from 'hast-util-to-hyperscript'
193+
import {toH} from 'hast-to-hyperscript'
194194

195195
const tree = h('h1', ['Hello, ', h('em', 'world'), '!'])
196196

@@ -209,7 +209,7 @@ Yields:
209209
import {createElement} from 'preact'
210210
import render from 'preact-render-to-string'
211211
import {h} from 'hastscript'
212-
import {toH} from 'hast-util-to-hyperscript'
212+
import {toH} from 'hast-to-hyperscript'
213213

214214
const tree = h('h1', ['Hello, ', h('em', 'world'), '!'])
215215

@@ -228,7 +228,7 @@ Yields:
228228
import * as vue from 'vue'
229229
import serverRenderer from '@vue/server-renderer'
230230
import {h} from 'hastscript'
231-
import {toH} from 'hast-util-to-hyperscript'
231+
import {toH} from 'hast-to-hyperscript'
232232

233233
const tree = h('h1', ['Hello, ', h('em', 'world'), '!'])
234234

0 commit comments

Comments
 (0)