Skip to content

Commit 2d4479c

Browse files
authored
Merge pull request #189 from evo-lua/resolve-validation-warnings
Fix warnings in the Chrome dev console
2 parents f5693d9 + 0dfe237 commit 2d4479c

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/components/API/API.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class Parameters extends React.Component {
7373
].join(" ")}
7474
>
7575
<tr className={styles.functionParametersFirstRow}>
76-
<th colspan="4">Arguments</th>
76+
<th colSpan="4">Arguments</th>
7777
</tr>
7878
<tr className={styles.functionParametersHeadRow}>
7979
<th>#</th>
@@ -99,7 +99,7 @@ class Returns extends React.Component {
9999
].join(" ")}
100100
>
101101
<tr className={styles.functionReturnValuesFirstRow}>
102-
<th colspan="3">Return values</th>
102+
<th colSpan="3">Return values</th>
103103
</tr>
104104
<tr className={styles.functionReturnValuesHeadRow}>
105105
<th>#</th>
@@ -166,7 +166,7 @@ class Struct extends React.Component {
166166
].join(" ")}
167167
>
168168
<tr className={styles.structMembersFirstRow}>
169-
<th colspan="3">{this.props.name}</th>
169+
<th colSpan="3">{this.props.name}</th>
170170
</tr>
171171
<tr className={styles.structMembersHeadRow}>
172172
<th>Field</th>
@@ -201,13 +201,13 @@ class Dictionary extends React.Component {
201201
<table className={styles.dictionaryKeyValuesTable}>
202202
<tbody className={styles.dictionaryKeyValuesTableBody}>
203203
<tr className={styles.dictionaryKeyValuesFirstRow}>
204-
<th colspan="4">{this.props.name}</th>
204+
<th colSpan="4">{this.props.name}</th>
205205
</tr>
206206
<tr className={styles.dictionaryKeyValuesHeadRow}>
207-
<td colspan="2" className={styles.dictionaryHeadRow}>
207+
<td colSpan="2" className={styles.dictionaryHeadRow}>
208208
Keys
209209
</td>
210-
<td colspan="2" className={styles.dictionaryHeadRow}>
210+
<td colSpan="2" className={styles.dictionaryHeadRow}>
211211
Values
212212
</td>
213213
</tr>

src/components/HomepageFeatures/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ function RectangularCheckboxIcon(props) {
88
<div className={styles.featureSummaryText}>
99
<svg
1010
xmlns="http://www.w3.org/2000/svg"
11-
class="w-px-24"
11+
className="w-px-24"
1212
width="24"
1313
height="24"
1414
viewBox="0 0 24 24"
15-
stroke-width="2"
15+
strokeWidth="2"
1616
stroke="#4ade80"
1717
fill="none"
18-
stroke-linecap="round"
19-
stroke-linejoin="round"
18+
strokeLinecap="round"
19+
strokeLinejoin="round"
2020
>
2121
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
2222
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
@@ -108,7 +108,7 @@ function Feature({ Svg, title, description }) {
108108
<div className="text--center"></div>
109109
<div>
110110
<h3>{title}</h3>
111-
<p>{description}</p>
111+
<div>{description}</div>
112112
</div>
113113
</div>
114114
);

0 commit comments

Comments
 (0)