Skip to content

Commit

Permalink
lint-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Jun 18, 2021
1 parent d137b8b commit e8e905a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions docs/basic-features/script.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ function Home() {

```js
import Script from 'next/script'

<Script
;<Script
src="https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserverEntry%2CIntersectionObserver"
strategy="beforeInteractive"
/>
Expand All @@ -80,8 +79,7 @@ import Script from 'next/script'

```js
import Script from 'next/script'

<Script
;<Script
src="https://connect.facebook.net/en_US/sdk.js"
strategy="lazyOnload"
/>
Expand All @@ -91,8 +89,7 @@ import Script from 'next/script'

```js
import Script from 'next/script'

<Script
;<Script
id="stripe-js"
src="https://js.stripe.com/v3/"
onLoad={() => {
Expand Down Expand Up @@ -123,8 +120,7 @@ import Script from 'next/script'

```js
import Script from 'next/script'

<Script
;<Script
src="https://www.google-analytics.com/analytics.js"
id="analytics"
nonce="XUENAJFW"
Expand Down

0 comments on commit e8e905a

Please sign in to comment.