Skip to content

Commit

Permalink
Add + to phone number on submit (#48)
Browse files Browse the repository at this point in the history
* Fix: add + to phone number

* Bump version
  • Loading branch information
Rotheem authored Aug 25, 2024
1 parent b446210 commit dd783ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/calypsso/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.1"
__version__ = "1.1.2"
2 changes: 1 addition & 1 deletion src/app/activate/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const RegisterPage = () => {
birthday: values.birthday
? format(values.birthday, "yyyy-MM-dd")
: undefined,
phone: values.phone,
phone: values.phone ? "+" + values.phone : undefined,
floor: values.floor as FloorsType | undefined | null,
promo: values.promo ? parseInt(values.promo) : undefined,
},
Expand Down

0 comments on commit dd783ed

Please sign in to comment.