diff --git a/package.json b/package.json index fe8b2f32..b49d8a10 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gnosis.pm/safe-react-components", - "version": "1.0.1", + "version": "1.0.2", "description": "Gnosis UI components", "main": "dist/index.min.js", "typings": "dist/index.d.ts", diff --git a/src/inputs/Select/index.tsx b/src/inputs/Select/index.tsx index cb12be02..4f18ab6e 100644 --- a/src/inputs/Select/index.tsx +++ b/src/inputs/Select/index.tsx @@ -91,7 +91,7 @@ function Select({ onOpen={handleOpen} value={activeItemId} onChange={handleChange} - label={id ? id : 'generic-select'} + label={label} variant="outlined" disabled={disabled} {...rest}> diff --git a/tests/inputs/AddressInput/__snapshots__/AddressInput.stories.storyshot b/tests/inputs/AddressInput/__snapshots__/AddressInput.stories.storyshot index 4cb1db6c..384ef656 100644 --- a/tests/inputs/AddressInput/__snapshots__/AddressInput.stories.storyshot +++ b/tests/inputs/AddressInput/__snapshots__/AddressInput.stories.storyshot @@ -739,7 +739,7 @@ exports[`Storyshots Inputs/AddressInput Simple Address Input 1`] = ` className="PrivateNotchedOutline-legendLabelled-101 PrivateNotchedOutline-legendNotched-102" > - generic-select + Network diff --git a/tests/inputs/Select/__snapshots__/select.stories.storyshot b/tests/inputs/Select/__snapshots__/select.stories.storyshot index 05c88977..836e44a4 100644 --- a/tests/inputs/Select/__snapshots__/select.stories.storyshot +++ b/tests/inputs/Select/__snapshots__/select.stories.storyshot @@ -70,7 +70,7 @@ exports[`Storyshots Inputs/Select Disabled Select 1`] = ` className="PrivateNotchedOutline-legendLabelled-115" > - error-select + Select Token @@ -148,7 +148,7 @@ exports[`Storyshots Inputs/Select Error Select 1`] = ` className="PrivateNotchedOutline-legendLabelled-119" > - error-select + Select Token @@ -231,7 +231,7 @@ exports[`Storyshots Inputs/Select Simple Select 1`] = ` className="PrivateNotchedOutline-legendLabelled-123" > - simple-select + Select Token