diff --git a/frontend/lib/components/AddBrainModal/components/BrainTypeSelectionStep/BrainTypeSelectionStep.tsx b/frontend/lib/components/AddBrainModal/components/BrainTypeSelectionStep/BrainTypeSelectionStep.tsx index 48e7da18d..cf2caee92 100644 --- a/frontend/lib/components/AddBrainModal/components/BrainTypeSelectionStep/BrainTypeSelectionStep.tsx +++ b/frontend/lib/components/AddBrainModal/components/BrainTypeSelectionStep/BrainTypeSelectionStep.tsx @@ -13,7 +13,7 @@ import { useBrainCreationContext } from "../../brainCreation-provider"; import { useBrainCreationSteps } from "../../hooks/useBrainCreationSteps"; export const BrainTypeSelectionStep = (): JSX.Element => { - const [selectedIndex, setSelectedIndex] = useState(0); + const [selectedIndex, setSelectedIndex] = useState(-1); const [customBrainsCatalogueOpened, setCustomBrainsCatalogueOpened] = useState(false); const [customBrains, setCustomBrains] = useState([]); diff --git a/frontend/lib/components/AddBrainModal/components/CreateBrainStep/CreateBrainStep.tsx b/frontend/lib/components/AddBrainModal/components/CreateBrainStep/CreateBrainStep.tsx index 04cd7b5c1..ef4af6889 100644 --- a/frontend/lib/components/AddBrainModal/components/CreateBrainStep/CreateBrainStep.tsx +++ b/frontend/lib/components/AddBrainModal/components/CreateBrainStep/CreateBrainStep.tsx @@ -48,7 +48,7 @@ export const CreateBrainStep = (): JSX.Element => { onClick={previous} />