mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-03 05:26:05 +02:00
Rewrite shared feed
This commit is contained in:
@@ -30,15 +30,7 @@ export function useInstanceActivityData() {
|
||||
async function getWorldNameData() {
|
||||
worldNameArray.value = await Promise.all(
|
||||
activityData.value.map(async (item) => {
|
||||
try {
|
||||
return await getWorldName(item.location);
|
||||
} catch {
|
||||
console.error(
|
||||
'getWorldName failed location',
|
||||
item.location
|
||||
);
|
||||
return 'Unknown world';
|
||||
}
|
||||
return await getWorldName(item.location);
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user