cleaned up lodash imports
This commit is contained in:
parent
f9767ec3cf
commit
1ee18a7fa3
15 changed files with 19 additions and 27 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue