mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-14 05:26:34 +03:00
Reverse news order (newest top)
This commit is contained in:
parent
b866245ed0
commit
ea7914e115
|
@ -47,7 +47,10 @@ export default function getApp(theState) {
|
||||||
|
|
||||||
this.setStatusTo(
|
this.setStatusTo(
|
||||||
<ol style="list-style-type: initial;">
|
<ol style="list-style-type: initial;">
|
||||||
{newsArr.map(([title, url]) => (<li><a href={url}>{title}</a></li>))}
|
{newsArr
|
||||||
|
.map(([title, url]) => (<li><a href={url}>{title}</a></li>))
|
||||||
|
.reverse() // News order.
|
||||||
|
}
|
||||||
</ol>
|
</ol>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user