Skip to content

Commit

Permalink
Fix jsx tests
Browse files Browse the repository at this point in the history
  • Loading branch information
megalinter-bot committed Jul 23, 2023
1 parent 3302507 commit 6a0e571
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions .automation/test/jsx/jsx_good_1.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import React from 'react'
import ReactDOM from 'react-dom'

const name = 'Clarisse Agbegnenou';
const element = <h1>Bonjour, {name}</h1>;

ReactDOM.render(
element,
document.getElementById('root')
);
console.log(name,element);
6 changes: 1 addition & 5 deletions .automation/test/jsx/jsx_good_2.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import React from 'react'
import ReactDOM from 'react-dom'

const name = 'Clarisse Agbegnenou';
const element = <h1>Bonjour, {name}</h1>;

ReactDOM.render(
element,
document.getElementById('root')
);
console.log(name,element);

0 comments on commit 6a0e571

Please sign in to comment.