File tree 1 file changed +6
-2
lines changed
site/src/pages/CreateWorkspacePage 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -261,9 +261,8 @@ export const CreateWorkspacePageView: FC<CreateWorkspacePageViewProps> = ({
261
261
) ;
262
262
} ;
263
263
264
- type VerifiableAuth = Readonly < { authenticated : boolean ; id : string } > ;
265
264
function getAuthErrors (
266
- authList : readonly VerifiableAuth [ ] ,
265
+ authList : readonly TypesGen . TemplateVersionExternalAuth [ ] ,
267
266
) : Readonly < Record < string , string > > {
268
267
const authErrors : Record < string , string > = { } ;
269
268
@@ -284,6 +283,11 @@ function DuplicateWarningMessage() {
284
283
return null ;
285
284
}
286
285
286
+ // Set up looks a little hokey (having an Alert already fully configured to
287
+ // listen to dismissals, on top of more dismissal state), but relying solely
288
+ // on the Alert API wouldn't get rid of the div and horizontal margin helper
289
+ // after the dismiss happens. Not using CSS margins because those can be a
290
+ // style maintenance nightmare over time
287
291
return (
288
292
< div css = { { paddingTop : theme . spacing ( 6 ) } } >
289
293
< Margins size = "medium" >
You can’t perform that action at this time.
0 commit comments