Skip to content

Commit

Permalink
chore(docs): Remove typo in Script guide (#35826)
Browse files Browse the repository at this point in the history
Co-authored-by: LekoArts <[email protected]>
  • Loading branch information
AbdallahAbis and LekoArts authored Jun 2, 2022
1 parent f520e59 commit 39b4c18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/reference/built-in-components/gatsby-script.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ Here is an example using the callbacks:
```jsx
<Script
src="https://my-example-script"
onLoad={() => console.log('success') )}
onError={() => console.log('sadness') )}
onLoad={() => console.log("success")}
onError={() => console.log("sadness")}
/>
```

Expand Down

0 comments on commit 39b4c18

Please sign in to comment.