Use memoized device list

This commit is contained in:
Sam Carlton 2022-05-21 17:45:35 -05:00
parent a83583081c
commit bb51ca79c3

View file

@ -435,7 +435,7 @@ class BuildLists {
// Add device support
if ( this.shouldHaveDeviceSupport( listEntry ) ) {
const deviceList = this.getListArray( 'device' )
const deviceList = this.getListArrayMemoized( 'device' )
listEntry.deviceSupport = deviceList.map( device => {
const supportsApp = deviceSupportsApp( device, listEntry )