8000 Fix cowsay example so that it compiles · JavaScriptExpert/next.js@d485681 · GitHub
[go: up one dir, main page]

Skip to content

Commit d485681

Browse files
authored
Fix cowsay example so that it compiles
1 parent 6afacbb commit d485681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Every `import` you declare gets bundled and served with each page
4040
import React from 'react'
4141
import cowsay from 'cowsay-browser'
4242
export default () => (
43-
<pre>{ cowsay({ text: 'hi there!' }) }</pre>
43+
<pre>{ cowsay.say({ text: 'hi there!' }) }</pre>
4444
)
4545
```
4646

0 commit comments

Comments
 (0)
0