From 7d6686cbde1a894b0d56975c1162e8f4fa4c06c3 Mon Sep 17 00:00:00 2001 From: Andre Landgraf Date: Fri, 21 Jun 2019 11:15:58 +0200 Subject: [PATCH] bug fixing wild ; --- package.json | 2 +- src/DataListInput.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ce721f6..ef01ede 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-datalist-input", - "version": "1.1.36", + "version": "1.1.37", "description": "This package provides a react component as follows: an input field with a drop down menu to pick a possible option based on the current input.", "main": "./lib/DataListInput.js", "license": "MIT", diff --git a/src/DataListInput.jsx b/src/DataListInput.jsx index f7fd376..51a7129 100644 --- a/src/DataListInput.jsx +++ b/src/DataListInput.jsx @@ -264,7 +264,7 @@ class DataListInput extends React.Component { {items.map( ( item, i ) => { const isActive = focusIndex === i; const itemActiveClasses = isActive ? `datalist-active-item ${ activeItemClassName }` : ''; - const itemClasses = `${ itemClassName } ${ itemActiveClasses };`; + const itemClasses = `${ itemClassName } ${ itemActiveClasses }`; return (