From eec4c5d52d31d296be8f178a44f0eef5eef7a73c Mon Sep 17 00:00:00 2001 From: Sebastian Thulin Date: Fri, 11 Oct 2024 10:43:45 +0200 Subject: [PATCH] fix: make js less modern. --- package-lock.json | 12 ++---------- src/components/Form/Input.js | 2 +- src/components/Pagination/Pagination.js | 6 +++--- 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index d051a73..91ddb35 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,20 +1,12 @@ { "name": "@helsingborg-stad/hbg-react", -<<<<<<< HEAD - "version": "1.0.16", -======= - "version": "1.0.15", ->>>>>>> 02b55006dd22466a3f41737bb875418f0480a961 + "version": "1.0.18", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@helsingborg-stad/hbg-react", -<<<<<<< HEAD - "version": "1.0.16", -======= - "version": "1.0.15", ->>>>>>> 02b55006dd22466a3f41737bb875418f0480a961 + "version": "1.0.18", "license": "MIT", "dependencies": { "classnames": "^2.3.1", diff --git a/src/components/Form/Input.js b/src/components/Form/Input.js index 77a2ae1..3cb1cee 100644 --- a/src/components/Form/Input.js +++ b/src/components/Form/Input.js @@ -101,7 +101,7 @@ class Input extends Component { return (
-
+
{props.label && (