mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Memoize kind list
This commit is contained in:
parent
78faf629e1
commit
f3ad21e22f
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import memoizeGetters from 'memoize-getters'
|
||||
|
||||
import {
|
||||
apiDirectory
|
||||
} from '~/helpers/api/config.js'
|
||||
|
|
@ -62,3 +64,5 @@ export class KindList extends PaginatedList {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
export const KindListMemoized = memoizeGetters( KindList )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue