Explorar o código

Remove unused cleanup() destructuring in x-text

Mark Jaquith %!s(int64=4) %!d(string=hai) anos
pai
achega
cb5dc37f57
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/alpinejs/src/directives/x-text.js

+ 1 - 1
packages/alpinejs/src/directives/x-text.js

@@ -2,7 +2,7 @@ import { evaluateLater } from '../evaluator'
 import { directive } from '../directives'
 import { mutateDom } from '../mutation'
 
-directive('text', (el, { expression }, { effect, cleanup }) => {
+directive('text', (el, { expression }, { effect }) => {
     let evaluate = evaluateLater(el, expression)
 
     effect(() => {