From 7b10e47b21d4bd130d5d44f394e4836548899fd9 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 28 Mar 2022 23:54:30 +0300 Subject: [PATCH] rename some binding hooks according to new names --- src/directives/body_scroll_lock.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/directives/body_scroll_lock.js b/src/directives/body_scroll_lock.js index f5cc2247..b6d16790 100644 --- a/src/directives/body_scroll_lock.js +++ b/src/directives/body_scroll_lock.js @@ -55,7 +55,7 @@ const directive = { disableBodyScroll(el) } }, - componentUpdated: (el, binding) => { + updated: (el, binding) => { if (binding.oldValue === binding.value) { return } @@ -66,7 +66,7 @@ const directive = { enableBodyScroll(el) } }, - unbind: (el) => { + unmounted: (el) => { enableBodyScroll(el) } }