mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-25 22:08: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:
@@ -27,10 +27,7 @@ export function PrivacyPolicyCheckboxes({ legal, onChange }: Props) {
|
||||
const hasPrivacyLink = !!legal?.privacyPolicyLink;
|
||||
|
||||
// Check that all required checkboxes are accepted
|
||||
return (
|
||||
(!hasTosLink || newState.tosAccepted) &&
|
||||
(!hasPrivacyLink || newState.privacyPolicyAccepted)
|
||||
);
|
||||
return (!hasTosLink || newState.tosAccepted) && (!hasPrivacyLink || newState.privacyPolicyAccepted);
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user