Skip to content

Commit

Permalink
Revert ":recycle: Update SelectName component for delegate, validate …
Browse files Browse the repository at this point in the history
…if user already exists"

This reverts commit bb75912.
  • Loading branch information
massao committed Jun 20, 2019
1 parent 935ae96 commit c79f82b
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 175 deletions.
6 changes: 0 additions & 6 deletions i18n/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@
"Delegate stats": "Delegate stats",
"Delegate vote_noun": "Delegate vote",
"Delegates": "Delegates",
"Delegates are the most commited Lisk community members responsible for \n securing the network and processing all the transactions on Lisk’s blockchain \n network.": "Delegates are the most commited Lisk community members responsible for \n securing the network and processing all the transactions on Lisk’s blockchain \n network.",
"Delegates have great responsibility within the Lisk system for securing the blockchain. Becoming a delegate requires the registration of a name. The top 101 delegates are eligible to forge.": "Delegates have great responsibility within the Lisk system for securing the blockchain. Becoming a delegate requires the registration of a name. The top 101 delegates are eligible to forge.",
"Details": "Details",
"Discard": "Discard",
Expand Down Expand Up @@ -300,7 +299,6 @@
"Max 20 characters, a-z and 0-1, no special characters except for “!@$&.”": "Max 20 characters, a-z and 0-1, no special characters except for “!@$&.”",
"Max amount must be greater than Min amount": "Max amount must be greater than Min amount",
"Max amount of delegates in one voting exceeded.": "Max amount of delegates in one voting exceeded.",
"Max. 20 characters, a-z, 0-1, no special characters except !@$_.": "Max. 20 characters, a-z, 0-1, no special characters except !@$_.",
"Maximum floating point is 8.": "Maximum floating point is 8.",
"Maximum length exceeded": "Maximum length exceeded",
"Menu": "Menu",
Expand All @@ -321,7 +319,6 @@
"New version available": "New version available",
"News": "News",
"Next": "Next",
"Nickname is too long.": "Nickname is too long.",
"No Bookmarks added yet": "No Bookmarks added yet",
"No Public Key": "No Public Key",
"No Transactions Yet": "No Transactions Yet",
Expand Down Expand Up @@ -493,7 +490,6 @@
"The download has started. Depending on your internet speed, it can take several minutes. You will be informed when it is finished and be prompted to restart the app.": "The download has started. Depending on your internet speed, it can take several minutes. You will be informed when it is finished and be prompted to restart the app.",
"The easiest way to do this is to send LSK to yourself by clicking this button.": "The easiest way to do this is to send LSK to yourself by clicking this button.",
"The easiest way to do this is to send LSK to yourself. It will cost you only the usual {{fee}} LSK transaction fee.": "The easiest way to do this is to send LSK to yourself. It will cost you only the usual {{fee}} LSK transaction fee.",
"The top 101 delegates are able to forge new blocks and recieve forging rewards.": "The top 101 delegates are able to forge new blocks and recieve forging rewards.",
"The transaction has been canceled on your {{model}}": "The transaction has been canceled on your {{model}}",
"There are no results matching this filter": "There are no results matching this filter",
"There are no transactions.": "There are no transactions.",
Expand Down Expand Up @@ -601,7 +597,6 @@
"Your Trezor One has an old Firmware. Please update it.": "Your Trezor One has an old Firmware. Please update it.",
"Your delegate name is being registered": "Your delegate name is being registered",
"Your new Lisk Wallet enables you to take full control of your LSK tokens. Secure, intuitive and robust Hub is your ultimate gateway to Lisk Ecosystem.": "Your new Lisk Wallet enables you to take full control of your LSK tokens. Secure, intuitive and robust Hub is your ultimate gateway to Lisk Ecosystem.",
"Your nickname": "Your nickname",
"Your passphrase is both your login and passphrase to your Lisk Hub. It is provided during account registration.": "Your passphrase is both your login and passphrase to your Lisk Hub. It is provided during account registration.",
"Your passphrase is used to access your Lisk ID.": "Your passphrase is used to access your Lisk ID.",
"Your passphrase is your login and password combined.": "Your passphrase is your login and password combined.",
Expand All @@ -623,7 +618,6 @@
"from": "from",
"ie. 192.168.0.1": "ie. 192.168.0.1",
"ie. Lisker123": "ie. Lisker123",
"ie. Peter Pan": "ie. Peter Pan",
"or": "or",
"to": "to",
"with a second passphrase": "with a second passphrase",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"js-sha256": "0.9.0",
"jspdf": "1.5.3",
"jsx-to-string": "1.4.0",
"lodash.debounce": "4.0.8",
"lodash.throttle": "4.1.1",
"lolex": "=2.3.2",
"lottie-web": "5.5.5",
Expand Down
161 changes: 0 additions & 161 deletions src/components/registerDelegateV2/selectName/selectName.js

This file was deleted.

6 changes: 0 additions & 6 deletions src/constants/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,6 @@ export default {
isLoaded: true,
isPrivate: false,
},
delegateRegistration: {
path: '/delegate-register',
component: DelegateRegistration,
isLoaded: true,
isPrivate: false,
},
addAccount: {
path: '/add-account',
component: LoginV2,
Expand Down
1 change: 0 additions & 1 deletion src/utils/regex.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ export default {
delegateName: /^[a-z0-9!@$&_.]{0,20}$/,
transactionId: /^[1-9]\d{0,19}$/,
btcAddressTrunk: /^(.{10})(.+)?(.{10})$/,
delegateSpecialChars: /[a-z0-9!@$&_.]+/g,
};

0 comments on commit c79f82b

Please sign in to comment.