cleaned up lodash imports

This commit is contained in:
Henry Jameson 2026-06-03 01:56:18 +03:00
commit 1ee18a7fa3
15 changed files with 19 additions and 27 deletions

View file

@ -1,4 +1,4 @@
import _ from 'lodash'
import { throttle } from 'lodash'
import { mapState as mapPiniaState } from 'pinia'
import { mapGetters, mapState } from 'vuex'
@ -224,7 +224,7 @@ const Chat = {
}
}, 5000)
},
handleScroll: _.throttle(function () {
handleScroll: throttle(function () {
this.lastScrollPosition = getScrollPosition()
if (!this.currentChat) {
return