Skip to content

Commit

Permalink
Implemented changes regarding feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
JelenaTakac committed Oct 12, 2024
1 parent 83343cf commit 3b131ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions src/templates/dashboard-astra/dashboard-astra.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ const astraRadioButtonGroupData = [
];

export const AstraDashboard = () => {
const radioButtonGroupData = defaultRadioButtonGroupData;
return (
<>
{ /* Navigation Topbar */ }
Expand Down Expand Up @@ -465,14 +464,14 @@ export const AstraDashboard = () => {
<Container.Item className="md:w-full lg:w-full p-2 rounded-lg bg-background-secondary">
<RadioButton.Group
as="div"
defaultValue={ `option-${ radioButtonGroupData[ 0 ].id }` }
defaultValue={ `option-${ defaultRadioButtonGroupData[ 0 ].id }` }
multiSelection={ true }
onChange={ ( value ) => {
return value;
} }
className="w-full"
>
{ radioButtonGroupData.map( ( option ) => (
{ defaultRadioButtonGroupData.map( ( option ) => (
<RadioButton.Button
key={ `option-${ option.id }` }
borderOn={ true }
Expand Down
5 changes: 2 additions & 3 deletions src/templates/dashboard-spectra/dashboard-spectra.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ const containerRowButtons = [
];

export const SpectraDashboard = () => {
const radioButtonGroupData = defaultRadioButtonGroupData;
return (
<>
<Container
Expand Down Expand Up @@ -525,14 +524,14 @@ export const SpectraDashboard = () => {
<Container.Item className="md:w-full lg:w-full p-1 bg-field-primary-background rounded-lg">
<RadioButton.Group
as="div"
defaultValue={ `option-${ radioButtonGroupData[ 0 ].id }` }
defaultValue={ `option-${ defaultRadioButtonGroupData[ 0 ].id }` }
multiSelection={ true }
onChange={ ( value ) => {
return value;
} }
className="w-full gap-1"
>
{ radioButtonGroupData.map( ( option ) => (
{ defaultRadioButtonGroupData.map( ( option ) => (
<RadioButton.Button
key={ `option-${ option.id }` }
borderOn={ true }
Expand Down

0 comments on commit 3b131ac

Please sign in to comment.