Fix pressing "enter" in time converter reloading the page

thrimbletrimmer-solid
ElementalAlchemist 2 weeks ago
parent 9d4bbfd32a
commit 1ad9f6f1a4

@ -56,7 +56,7 @@ const TimeConverter: Component<TimeConverterProps> = (props) => {
};
return (
<form>
<div>
<h1>Convert Times</h1>
<input
type="text"
@ -129,7 +129,7 @@ const TimeConverter: Component<TimeConverterProps> = (props) => {
</label>
</div>
<div>Converted Time: {outputString()}</div>
</form>
</div>
);
};

Loading…
Cancel
Save