@@ -156,20 +156,21 @@ export const AddNewAuth: React.FC<IAddNewAuthProps> = ({ toggleModal }) => {
156156 < Text bold marginBottom = { 3 } >
157157 Authorization Type
158158 </ Text >
159- < StyledTypeSelectWrapper ref = { typeRef } >
160- < StyledTypeSelect
161- onClick = { handleTypeDropdownToggle }
162- $expanded = { typeDropdownExpanded }
163- $isSelected = { ! ! selectedAuthType }
164- >
165- < span >
166- { selectedAuthType
167- ? splitCamelCase ( selectedAuthType )
168- : 'Select Authorization Type' }
169- </ span >
170-
171- < Icon name = "ExpandIcon" size = "18px" />
172- </ StyledTypeSelect >
159+ < div ref = { typeRef } >
160+ < StyledTypeSelectWrapper >
161+ < StyledTypeSelect
162+ onClick = { handleTypeDropdownToggle }
163+ $expanded = { typeDropdownExpanded }
164+ $isSelected = { ! ! selectedAuthType }
165+ >
166+ < span >
167+ { selectedAuthType
168+ ? splitCamelCase ( selectedAuthType )
169+ : 'Select Authorization Type' }
170+ </ span >
171+ < Icon name = "ExpandIcon" size = "18px" />
172+ </ StyledTypeSelect >
173+ </ StyledTypeSelectWrapper >
173174 { typeDropdownExpanded && (
174175 < StyledExpandedTypeSelect >
175176 { Object . values ( AuthorizationType )
@@ -195,7 +196,7 @@ export const AddNewAuth: React.FC<IAddNewAuthProps> = ({ toggleModal }) => {
195196 ) ) }
196197 </ StyledExpandedTypeSelect >
197198 ) }
198- </ StyledTypeSelectWrapper >
199+ </ div >
199200 { selectedAuthType === 'RotatePrimaryKey' && (
200201 < StyledWarningMessage >
201202 Caution: This will remove the current primary key from your identity
0 commit comments