mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 16:58:47 +01:00
Sort followed hashtags
This commit is contained in:
parent
ff1a9fa444
commit
f1bb1454c3
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ function FollowedHashtags() {
|
||||||
if (done || value?.length === 0) break;
|
if (done || value?.length === 0) break;
|
||||||
tags.push(...value);
|
tags.push(...value);
|
||||||
} while (true);
|
} while (true);
|
||||||
|
tags.sort((a, b) => a.name.localeCompare(b.name));
|
||||||
console.log(tags);
|
console.log(tags);
|
||||||
setFollowedHashtags(tags);
|
setFollowedHashtags(tags);
|
||||||
setUiState('default');
|
setUiState('default');
|
||||||
|
|
Loading…
Reference in a new issue