Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
chore(plugins): undo pr 269
Browse files Browse the repository at this point in the history
Signed-off-by: irmerk <[email protected]>
  • Loading branch information
jolanglinais committed Mar 10, 2020
1 parent ce1b6be commit 5d4b6ca
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 34 deletions.
83 changes: 58 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^22.21.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^1.7.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.9.0",
Expand All @@ -101,8 +101,8 @@
"not op_mini all"
],
"dependencies": {
"@accordproject/markdown-html": "^0.10.2",
"@accordproject/markdown-slate": "^0.10.2",
"@accordproject/markdown-html": "^0.10.3",
"@accordproject/markdown-slate": "^0.10.3",
"@babel/runtime": "^7.8.7",
"css-loader": "^3.4.2",
"immutable": "^3.8.2",
Expand All @@ -115,4 +115,4 @@
"slate-plain-serializer": "^0.7.11",
"style-loader": "^0.23.1"
}
}
}
6 changes: 1 addition & 5 deletions src/plugins/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,7 @@ function List() {
case CONST.UL_LIST:
return <ul {...attributes}>{children}</ul>;
case CONST.LIST_ITEM:
return children.map( (child) => {
if (child) {
return <li {...attributes}>{child}</li>
}
});
return <li {...attributes}>{children}</li>;
default:
return next();
}
Expand Down

0 comments on commit 5d4b6ca

Please sign in to comment.