File tree Expand file tree Collapse file tree 3 files changed +789
-895
lines changed
Expand file tree Collapse file tree 3 files changed +789
-895
lines changed Original file line number Diff line number Diff line change 22// to keep existing import statements working after upgrade to v37.
33// TODO - remove this file after all experimental components have been migrated
44declare module '@primer/react/experimental' {
5- export { Banner } from '@primer/react/lib-esm/Banner' ;
5+ export { Banner } from '@primer/react/lib-esm/Banner' ;
66}
Original file line number Diff line number Diff line change @@ -146,48 +146,41 @@ export const AccountsRoute: FC = () => {
146146 >
147147 < div className = "pl-4 pb-2 text-xs" >
148148 < Stack direction = "vertical" gap = "condensed" >
149- < div hidden = { ! account . user . name } >
150- < Stack
151- align = "center"
152- direction = "horizontal"
153- gap = "condensed"
154- >
155- < PersonIcon />
156- < Text > { account . user ?. name } </ Text >
157- </ Stack >
158- </ div >
149+ < Stack
150+ align = "center"
151+ direction = "horizontal"
152+ gap = "condensed"
153+ hidden = { ! account . user . name }
154+ >
155+ < PersonIcon />
156+ < Text > { account . user ?. name } </ Text >
157+ </ Stack >
159158
160- < div
159+ < Stack
160+ align = "center"
161161 className = "cursor-pointer"
162162 data-testid = "account-host"
163+ direction = "horizontal"
164+ gap = "condensed"
163165 onClick = { ( ) => openHost ( account . hostname ) }
164166 title = "Open host"
165167 >
166- < Stack
167- align = "center"
168- direction = "horizontal"
169- gap = "condensed"
170- >
171- < PlatformIcon />
172- < Text > { account . hostname } </ Text >
173- </ Stack >
174- </ div >
168+ < PlatformIcon />
169+ < Text > { account . hostname } </ Text >
170+ </ Stack >
175171
176- < button type = "button"
172+ < Stack
173+ align = "center"
177174 className = "cursor-pointer"
178175 data-testid = "account-developer-settings"
176+ direction = "horizontal"
177+ gap = "condensed"
179178 onClick = { ( ) => openDeveloperSettings ( account ) }
180179 title = "Open developer settings"
181180 >
182- < Stack
183- align = "center"
184- direction = "horizontal"
185- gap = "condensed"
186- >
187- < AuthMethodIcon />
188- < Text > { account . method } </ Text >
189- </ Stack >
190- </ button >
181+ < AuthMethodIcon />
182+ < Text > { account . method } </ Text >
183+ </ Stack >
191184 </ Stack >
192185 </ div >
193186
You can’t perform that action at this time.
0 commit comments