Skip to content

Commit 54f95db

Browse files
authored
Defer shortbread (#6575)
1 parent 41fb099 commit 54f95db

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/pages/_app.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,10 @@ function MyApp({ Component, pageProps }) {
197197
></script>
198198
</>
199199
)}
200+
<link
201+
href="https://prod.assets.shortbread.aws.dev/shortbread.css"
202+
rel="stylesheet"
203+
></link>
200204
</>
201205
);
202206
}

src/pages/_document.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ export default class MyDocument extends Document {
118118
src="https://prod.assets.shortbread.aws.dev/shortbread.js"
119119
defer
120120
></script>
121-
<link
122-
href="https://prod.assets.shortbread.aws.dev/shortbread.css"
123-
rel="stylesheet"
124-
></link>
125121
</Head>
126122
<body>
127123
<Main />

0 commit comments

Comments
 (0)