mirror of
https://github.com/urbit/shrub.git
synced 2024-12-14 20:02:51 +03:00
sein
This commit is contained in:
parent
5078ac8161
commit
ae268b1877
@ -57,8 +57,8 @@ Links = React.createFactory query {
|
||||
if sein is "/" then sein = ""
|
||||
if prev or next then _.filter [
|
||||
div {id:"sides",key:"sides"},
|
||||
if prev then @renderArrow "prev", "#{@props.sein}/#{prev}"
|
||||
if next then @renderArrow "next", "#{@props.sein}/#{next}"
|
||||
if prev then @renderArrow "prev", "#{sein}/#{prev}"
|
||||
if next then @renderArrow "next", "#{sein}/#{next}"
|
||||
]
|
||||
|
||||
toText: (elem)-> reactify.walk elem,
|
||||
|
@ -150,7 +150,7 @@ Links = React.createFactory(query({
|
||||
div({
|
||||
id: "sides",
|
||||
key: "sides"
|
||||
}, prev ? this.renderArrow("prev", this.props.sein + "/" + prev) : void 0, next ? this.renderArrow("next", this.props.sein + "/" + next) : void 0)
|
||||
}, prev ? this.renderArrow("prev", sein + "/" + prev) : void 0, next ? this.renderArrow("next", sein + "/" + next) : void 0)
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user