Skip to content

Commit

Permalink
refactor: Add LocalStorageKeys as single constant
Browse files Browse the repository at this point in the history
  • Loading branch information
kaungmyatlwin committed Oct 17, 2020
1 parent 3eefeb9 commit a2f8456
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions utils/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,10 @@ export const VOTER_LIST_LINKS = [
{ region: 'ဧရာဝတီတိုင်းဒေသကြီး', url: 'http://bit.ly/ayarwaddy-voters' },
{ region: 'ပြည်ထောင်စုနယ်မြေ', url: 'http://bit.ly/naypyitaw-voters' }
];

export const LOCALSTORAGE_KEYS = {
STATE_REGION: 'stateRegion',
TOWNSHIP: 'township',
WARD_VILLAGE: 'wardVillage',
CANDIDATE_PROMPT_DISMISS: 'candidatePromptDismiss'
};

0 comments on commit a2f8456

Please sign in to comment.