mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Use sorted subscriptions in left menu
This commit is contained in:
parent
eaa0c3a8c1
commit
3a50f14e52
1 changed files with 2 additions and 2 deletions
|
|
@ -223,7 +223,7 @@ function Subscriptions(
|
|||
},
|
||||
}
|
||||
}),
|
||||
[props.subscriptions]
|
||||
[sortedSubscriptions]
|
||||
)
|
||||
|
||||
return (
|
||||
|
|
@ -241,7 +241,7 @@ function Subscriptions(
|
|||
text="Newsletters"
|
||||
{...props}
|
||||
/>
|
||||
{(props.subscriptions ?? []).map((item) => {
|
||||
{(sortedSubscriptions ?? []).map((item) => {
|
||||
switch (item.type) {
|
||||
case SubscriptionType.NEWSLETTER:
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in a new issue