Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-julien committed Sep 6, 2022
1 parent 635dea7 commit 0875881
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/nuxt/src/app/components/client-only.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ export default defineComponent({
}
})


const cache = new WeakMap()

export function createClientOnly (component) {

if(cache.has(component)) {
if (cache.has(component)) {
return cache.get(component)
}

Expand Down

0 comments on commit 0875881

Please sign in to comment.