Skip to content

Commit

Permalink
Update useCssVars.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 authored Apr 15, 2024
1 parent 0a92213 commit a8a21f5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/runtime-dom/src/helpers/useCssVars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ export function useCssVars(getter: (ctx: any) => Record<string, string>) {
return
}

if (__DEV__) {
instance.getCssVars = () => getter(instance.proxy)
}

const updateTeleports = (instance.ut = (vars = getter(instance.proxy)) => {
Array.from(
document.querySelectorAll(`[data-v-owner="${instance.uid}"]`),
Expand Down

0 comments on commit a8a21f5

Please sign in to comment.