Skip to content

Commit 84b70b0

Browse files
author
jonisaa
committed
Extract '#' from href and bump to v1.1.2
1 parent 8fd6fa1 commit 84b70b0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redux-autoform-bootstrap-ui",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Bootstrap UI implementation for redux-autoform",
55
"main": "./lib/index.js",
66
"scripts": {

src/components/fieldComponents/ArrayContainer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,15 @@ class ArrayContainer extends Component {
9292
};
9393

9494
getAllComponents = () => {
95+
//TODO: We should replace href calls with Link from react-router
9596
let components = this.getComponents();
9697

9798
if (components.length) {
9899
return components;
99100
} else {
100101
return (
101102
<Alert bsStyle="warning">
102-
This array is empty. Consider <a href="#" onClick={ this.handleAdd }>adding a new item</a>.
103+
This array is empty. Consider <a href="" onClick={ this.handleAdd }>adding a new item</a>.
103104
</Alert>
104105
);
105106
}

0 commit comments

Comments
 (0)