push changes

This commit is contained in:
ritz078 committed 2017-10-31 13:19:53 +05:30
1 parent c032c0f4f8
commit 534c0b5fe4
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -23,7 +23,7 @@ export default class Css2Js extends PureComponent {
if (isSvg(html)) {
return new Promise(resolve => {
svgo.optimize(html, result => {
resolve(result.data)
resolve(converter.convert(result.data))
})
})
}
@@ -49,7 +49,7 @@ export default class Css2Js extends PureComponent {
<Layout pathname={this.props.url.pathname}>
<ConversionPanel
url={this.props.url}
leftTitle='HTML'
leftTitle='HTML/SVG'
rightTitle='JSX'
leftMode='html'
rightMode='jsx'
+1 -1
View File
@@ -46,7 +46,7 @@ export const categorizedRoutes = [
'An online utility to convert a JSON object to prop-types, Typescript Interface, Rust serde or flow types. It also converts your CSS into JS and HTML into JSX.'
},
{
label: 'HTML to JSX',
label: 'HTML/SVG to JSX',
path: '/html-to-jsx',
desc:
'An online REPL for converting HTML to JSX with proper support for SVG.'