Commit d2ef9da1 authored by amarcic's avatar amarcic
Browse files

changed string concat with template string

parent 02ce5aff
......@@ -3,6 +3,6 @@ import React from 'react';
export const HelloComputerButton = props => {
return(
<button onClick={ (ev) => alert("Hi " + ev.type) }>Hello Computer</button>
<button onClick={ (ev) => alert(`Hi ${ev.type}`) }>Hello Computer</button>
);
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment