mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-21 12:28:46 +00:00
fix(login): prettier setup (#11798)
# Which Problems Are Solved Invalid formatting in the login codebase due to invalid prettier configuration # How the Problems Are Solved Fxed .prettierignore wildcards for login source files # Additional Changes Removed .prettierrc file because there is already a prettier.config.mjs file # Additional Context
This commit is contained in:
@@ -34,9 +34,7 @@ export function idpTypeToSlug(idpType: IdentityProviderType) {
|
||||
}
|
||||
|
||||
// TODO: this is ugly but needed atm as the getIDPByID returns a IDPType and not a IdentityProviderType
|
||||
export function idpTypeToIdentityProviderType(
|
||||
idpType: IDPType,
|
||||
): IdentityProviderType {
|
||||
export function idpTypeToIdentityProviderType(idpType: IDPType): IdentityProviderType {
|
||||
switch (idpType) {
|
||||
case IDPType.IDP_TYPE_GITHUB:
|
||||
return IdentityProviderType.GITHUB;
|
||||
|
||||
Reference in New Issue
Block a user