Skip to content

Commit

Permalink
chore: wallet UI remove redundant condition check (#500)
Browse files Browse the repository at this point in the history
* chore: update string prepare

* chore: added language files

* chore: added language hooks in useStarknetSnap

* chore: added translation

* chore: added getPreferences rpc method

* chore: added translation

* chore: lint + prettier

* feat: handle `br` tags in translation, add support for language specific date format

* chore: updated language file

* chore: lint + prettier

* chore: lint + prettier

* chore: lint + prettier

* chore: fix comments

* chore: fix comments

* chore: fix comments

* chore: fix comments

* chore: fix comments

* chore: fix comments

* chore: fix comments

* chore: fix comments
  • Loading branch information
khanti42 authored Feb 4, 2025
1 parent a5cb642 commit 6921c85
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export const DeployModalView = ({ address }: Props) => {
const toastr = new Toastr();

const onDeploy = async () => {
if (!translate) return;
try {
const resp = await deployAccount(address, '0', chainId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export const SendModalView = ({ closeModal }: Props) => {

const handleChange = (fieldName: string, fieldValue: string) => {
//Check if input amount does not exceed user balance
if (!translate) return;
setErrors((prevErrors) => ({
...prevErrors,
[fieldName]: '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export const UpgradeModelView = ({ address }: Props) => {
const toastr = new Toastr();

const onUpgrade = async () => {
if (!translate) return;
try {
const resp = await upgradeAccount(address, '0', chainId);

Expand Down

0 comments on commit 6921c85

Please sign in to comment.