Skip to content

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

Add type to registration failure func

jamesreaddbf58a9f09de
diff --git a/apps/frontend/src/components/auth/register.tsx b/apps/frontend/src/components/auth/register.tsx
index 0f3d3cb4b..cd10c7a89 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) {
+function getHelpfulReasonForRegistrationFailure(httpCode: int) {
switch (httpCode) {
case 400:
return 'Email already exists';