mirror of
https://github.com/fullstack-cash/explorer.fullstack.cash.git
synced 2026-09-21 16:52:05 -07:00
fix(eslint): Fixed eslint issue
This commit is contained in:
@@ -6,5 +6,8 @@
|
|||||||
},
|
},
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"ecmaVersion": 10
|
"ecmaVersion": 10
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"no-unused-vars": "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
"arrowParens": "avoid",
|
"arrowParens": "avoid",
|
||||||
"semi": false
|
"semi": false,
|
||||||
|
"no-unused-vars": false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,18 +13,18 @@ class DemoComponent extends React.Component {
|
|||||||
render () {
|
render () {
|
||||||
return (
|
return (
|
||||||
<Content
|
<Content
|
||||||
title="Demo Component"
|
title='Demo Component'
|
||||||
subTitle="Getting started with adminlte-2-react"
|
subTitle='Getting started with adminlte-2-react'
|
||||||
browserTitle="Demo Component"
|
browserTitle='Demo Component'
|
||||||
>
|
>
|
||||||
<Row>
|
<Row>
|
||||||
<Col xs={12}>
|
<Col xs={12}>
|
||||||
<Box
|
<Box
|
||||||
title="A Box"
|
title='A Box'
|
||||||
type="primary"
|
type='primary'
|
||||||
closable
|
closable
|
||||||
collapsable
|
collapsable
|
||||||
footer={<Button type="danger" text="Danger Button" />}
|
footer={<Button type='danger' text='Danger Button' />}
|
||||||
>
|
>
|
||||||
This is the View portion of the Demo Component. This view is
|
This is the View portion of the Demo Component. This view is
|
||||||
controlled by the src/demo-component/index.js file.
|
controlled by the src/demo-component/index.js file.
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ const MenuComponents = [
|
|||||||
{
|
{
|
||||||
key: 'Demo Component',
|
key: 'Demo Component',
|
||||||
component: <DemoComponent />,
|
component: <DemoComponent />,
|
||||||
menuItem: <Item icon="fas-cog" key="Demo Component" text="Demo Component" />
|
menuItem: <Item icon='fas-cog' key='Demo Component' text='Demo Component' />
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user