From abdf0b5dcf813b431f280bf3f604458206421e12 Mon Sep 17 00:00:00 2001 From: Virtute90 Date: Sat, 9 Nov 2024 17:25:43 +0000 Subject: [PATCH 1/2] fix: rimosso classname dal wrapper --- src/Input/utils.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Input/utils.tsx b/src/Input/utils.tsx index b5d8a21c4..7d9bd99cb 100644 --- a/src/Input/utils.tsx +++ b/src/Input/utils.tsx @@ -1,5 +1,5 @@ import classNames from 'classnames'; -import { useState, useCallback } from 'react'; +import { useCallback, useState } from 'react'; import type { CSSModule } from 'reactstrap/types/lib/utils'; import { mapToCssModules } from '../utils'; import type { InputProps } from './Input'; @@ -98,7 +98,7 @@ export function getClasses( ), cssModule ); - const wrapperClass = mapToCssModules(classNames(className, originalWrapperClass, 'form-group'), cssModule); + const wrapperClass = mapToCssModules(classNames(originalWrapperClass, 'form-group'), cssModule); const validationTextClass = mapToCssModules( classNames( { From 31d81976fc7f010f652123c62ef940e054bbd2f9 Mon Sep 17 00:00:00 2001 From: Andrea Stagi Date: Mon, 11 Nov 2024 17:11:45 +0100 Subject: [PATCH 2/2] chore: update snapshots --- test/__snapshots__/Storybook.test.tsx.snap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/__snapshots__/Storybook.test.tsx.snap b/test/__snapshots__/Storybook.test.tsx.snap index b05284a2e..f7ce54b18 100644 --- a/test/__snapshots__/Storybook.test.tsx.snap +++ b/test/__snapshots__/Storybook.test.tsx.snap @@ -20487,7 +20487,7 @@ exports[`Stories Snapshots Documentazione/Form/Checkbox CheckboxMixedButton 1`] class="form-check" >