Skip to content

Commit 00798d8

Browse files
fix: fixed eslint errors
1 parent 375364d commit 00798d8

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

src/javascript/app/pages/bottom/tabs.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const Explanation = () => {
124124

125125
{/* ========== Note ========== */}
126126

127-
<p className='hint'><strong>{localize('Note: ')}</strong>{contractExplanationData.note[form_name].content.map((data, idx) => (
127+
<p className='hint'><strong>{localize('Note')}: </strong>{contractExplanationData.note[form_name].content.map((data, idx) => (
128128
<span key={idx}>{parse(localize(data))}</span>
129129
))}
130130

src/templates/app/trade/analysis.jsx

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
import React from 'react';
2-
import Explanation from './explanation.jsx';
3-
import LastDigit from './last_digit.jsx';
4-
import { TabContainer, TabsSubtabs, TabContentContainer, TabContent } from '../../_common/components/tabs.jsx';
52

6-
const ArrowsMobile = ({ direction, parent }) => (
7-
<div className='align-self-center gr-2 gr-hide gr-show-m gr-no-gutter'>
8-
<img
9-
className={`go-${direction} gr-5 gr-no-gutter gr-centered`}
10-
data-parent={parent}
11-
src={it.url_for(`images/pages/home/arrow_${direction}.svg`)}
12-
/>
13-
</div>
14-
);
15-
16-
const Analysis = ({ no_graph }) => (
3+
const Analysis = () => (
174
<div id='trading_bottom_content'>
185
<div id='trading_bottom_content_tabs' />
196
</div>

0 commit comments

Comments
 (0)