Skip to content

fix(PaginationLink): handle empty children array#511

Merged
TheSharpieOne merged 3 commits intomasterfrom
iss-494
Jul 27, 2017
Merged

fix(PaginationLink): handle empty children array#511
TheSharpieOne merged 3 commits intomasterfrom
iss-494

Conversation

@TheSharpieOne
Copy link
Copy Markdown
Member

Preact defaults to empty array for children, this will check for that and null it out.

This is based on the fix for a similar issue with react-router: https://github.com/ReactTraining/react-router/pull/4423/files

Closes #494

Preact defaults to empty array for children, this will check for that and null it out.

Closes #494
Used the github editor and it kept the space...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use reactstrap with preact

1 participant