mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-15 00:24:45 +01:00
Fix reusable react components duplicate id... dumbass
This commit is contained in:
@@ -69,8 +69,8 @@ export default class NewsSection extends React.Component<IProps, IState> {
|
||||
const commitsListHtml = commitsList.map((commit: any) => {
|
||||
return (
|
||||
<tr className="Commit" id="newsCommitsTable" key={commit.sha}>
|
||||
<td className="CommitAuthor" id="newsCommitsAuthor"><span>{commit.commit.author.name}</span></td>
|
||||
<td className="CommitMessage" id="newsCommitsCommitMessage"><span>{commit.commit.message}</span></td>
|
||||
<td className="CommitAuthor"><span>{commit.commit.author.name}</span></td>
|
||||
<td className="CommitMessage"><span>{commit.commit.message}</span></td>
|
||||
</tr>
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user