Skip to content

Commit 640a8b3

Browse files
author
Carlos Rufo Jimenez
committed
fix
1 parent 47d9cad commit 640a8b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/CreateLink.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class CreateLink extends Component {
6363
query: FEED_QUERY,
6464
variables: { first, skip, orderBy }
6565
})
66-
data.feed.links.splice(0, 0, post)
66+
data.feed.links.unshift(post)
6767
data.feed.links.pop()
6868
cache.writeQuery({
6969
query: FEED_QUERY,

0 commit comments

Comments
 (0)