Переглянути джерело

Remove unused cleanup() destructuring in x-text

Mark Jaquith 4 роки тому
батько
коміт
cb5dc37f57
1 змінених файлів з 1 додано та 1 видалено
  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(() => {