refactor: edit tailwindcss classes and change code formatting, therefore added .prettierrc file

fix: frontend bug where the passwords won't be checked when the password is changed
This commit is contained in:
2026-07-08 14:56:43 +02:00
parent 9c50c3f300
commit 6be34c93aa
36 changed files with 1280 additions and 1145 deletions
+11 -11
View File
@@ -1,14 +1,14 @@
import type {ErrorCode} from "../misc/types.ts";
import type { ErrorCode } from "../misc/types.ts";
export const returnErrorCode = (errorKey: ErrorCode) => {
if (!Array.isArray(errorKey) || errorKey.length < 2) {
return false;
}
if (!Array.isArray(errorKey) || errorKey.length < 2) {
return false;
}
return {
success: false,
code: errorKey[0],
data: null,
message: errorKey[1]
}
};
return {
success: false,
code: errorKey[0],
data: null,
message: errorKey[1],
};
};