Skip to content

Commit

Permalink
fix: state not persisting
Browse files Browse the repository at this point in the history
  • Loading branch information
hopetambala committed Oct 25, 2020
1 parent 1f0809b commit 8bb6e0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions domains/Auth/SignIn/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ const SignIn = ({ navigation }) => {
};

const handleLanguage = (lang) => {
setLanguage({
lang
});
setLanguage(lang);
I18n.locale = lang;
};

Expand Down
8 changes: 4 additions & 4 deletions modules/i18n/spanish/es.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"global": {
"yes": "Yes",
"yes": "Si",
"no": "No",
"notSure": "Not Sure",
"other": "Other",
"submit": "Submit",
"other": "Otro",
"submit": "Entrega",
"fName": "First Name",
"lName": "Last Name",
"city": "City",
Expand Down Expand Up @@ -329,7 +329,7 @@
},
"languagePicker": {
"english": "English",
"spanish": "Spanish"
"spanish": "Español"
},
"residentIdSearchbar": {
"searchIndividual": "Search Individual"
Expand Down

0 comments on commit 8bb6e0f

Please sign in to comment.