Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jul 13, 2022
1 parent fb72534 commit 5162517
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/next/client/app-index.tsx
Expand Up @@ -76,7 +76,6 @@ const getCacheKey = () => {
}

const encoder = new TextEncoder()
const loadedCss: Set<string> = new Set()

let initialServerDataBuffer: string[] | undefined = undefined
let initialServerDataWriter: ReadableStreamDefaultController | undefined =
Expand Down Expand Up @@ -235,7 +234,7 @@ function ServerRoot({
if (process.env.NODE_ENV === 'development') {
onFlightCssLoaded?.()
}
}, [])
}, [onFlightCssLoaded])
const response = useInitialServerResponse(cacheKey)
const root = response.readRoot()
return root
Expand Down

0 comments on commit 5162517

Please sign in to comment.