chore: don't need to load script.js anymore

This commit is contained in:
Sean Norwood 2022-04-06 18:48:12 +00:00
parent 42ff29c13d
commit 4e4db8f0ae
2 changed files with 556 additions and 551 deletions

File diff suppressed because it is too large Load Diff

View File

@ -28,11 +28,6 @@ function MyApp({ Component, pageProps: { session, ...pageProps } }: AppProps) {
strategy="lazyOnload" strategy="lazyOnload"
src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1" src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"
/> */} /> */}
<Script
onError={(e) => console.log(`Error loading script.js: ${e}`)}
strategy="lazyOnload"
src="/js/script.js"
/>
{/** TODO: Detect casting before loading this? */} {/** TODO: Detect casting before loading this? */}
{/* <ClientOnlyScript strategy="lazyOnload" src="/js/cast-videos.js" /> */} {/* <ClientOnlyScript strategy="lazyOnload" src="/js/cast-videos.js" /> */}