Browse Source

Remove unused cleanup() destructuring in x-text

Mark Jaquith 4 năm trước cách đây
mục cha
commit
cb5dc37f57
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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(() => {