reversed map order
This commit is contained in:
parent
c3dd5517cc
commit
721a702871
|
|
@ -46,7 +46,7 @@ const Base = () => {
|
|||
|
||||
{user ? (
|
||||
user.online_credit.length !== 0 ? (
|
||||
user.online_credit.map((el, i) => {
|
||||
[...user.online_credit].reverse().map((el, i) => {
|
||||
return (
|
||||
<tr key={i}>
|
||||
<td>#{el.id}</td>
|
||||
|
|
@ -91,10 +91,6 @@ const Base = () => {
|
|||
</div>
|
||||
<img src={allert} alt="reject" />
|
||||
</div>
|
||||
) : el.status !== "4" && el.status !== "2" ? (
|
||||
<div>
|
||||
<img src={nul} alt="null" />
|
||||
</div>
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
|
|
@ -184,10 +180,6 @@ const Base = () => {
|
|||
</div>
|
||||
<img src={allert} alt="reject" />
|
||||
</div>
|
||||
) : el.status !== "4" && el.status !== "2" ? (
|
||||
<div>
|
||||
<img src={nul} alt="null" />
|
||||
</div>
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -151,10 +151,6 @@ const Cards = () => {
|
|||
</div>
|
||||
<img src={allert} alt="reject" />
|
||||
</div>
|
||||
) : el.status !== "4" && el.status !== "2" ? (
|
||||
<div>
|
||||
<img src={nul} alt="null" />
|
||||
</div>
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ const Credits = () => {
|
|||
</tr>
|
||||
{user ? (
|
||||
user.online_credit.length !== 0 ? (
|
||||
user.online_credit.map((el, i) => {
|
||||
[...user.online_credit].reverse().map((el, i) => {
|
||||
return (
|
||||
<tr key={i}>
|
||||
<td>#{el.id}</td>
|
||||
|
|
@ -172,10 +172,6 @@ const Credits = () => {
|
|||
</div>
|
||||
<img src={allert} alt="reject" />
|
||||
</div>
|
||||
) : el.status !== "4" && el.status !== "2" ? (
|
||||
<div>
|
||||
<img src={nul} alt="null" />
|
||||
</div>
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue