Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

Add number type to registration failure func

jamesread2e24c78c5d89
diff --git a/apps/frontend/src/components/auth/register.tsx b/apps/frontend/src/components/auth/register.tsx
index cd10c7a89..67fefbdf9 100644
--- a/apps/frontend/src/components/auth/register.tsx
+++ b/apps/frontend/src/components/auth/register.tsx
@@ -65,7 +65,7 @@ export function Register() {
);
}
-function getHelpfulReasonForRegistrationFailure(httpCode: int) {
+function getHelpfulReasonForRegistrationFailure(httpCode: number) {
switch (httpCode) {
case 400:
return 'Email already exists';