Skip to content

Commit 14ef264

Browse files
committed
Fix newly created refs to the top
1 parent 5ccfdbb commit 14ef264

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

react-app/src/components/CreatedRefs.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const CreatedRefs = (props: { refs: string[] }) => {
3131
Your References
3232
</h3>
3333
<List>
34-
{props.refs.map(ref => (
34+
{props.refs.reverse().map(ref => (
3535
<li key={ref}>
3636
{ref}
3737
<CopyToClipboard text={ref}>
@@ -41,7 +41,6 @@ const CreatedRefs = (props: { refs: string[] }) => {
4141
className="ml-2"
4242
onClick={alertCopy}
4343
/>
44-
4544
<UncontrolledTooltip placement="bottom" target={ref}>
4645
Click to Copy Ref
4746
</UncontrolledTooltip>

0 commit comments

Comments
 (0)