Skip to content

Commit

Permalink
fix(console): managed wallet manifest fix error (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
baktun14 authored Sep 4, 2024
1 parent 3430a08 commit 69880b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const ManifestEdit: React.FunctionComponent<Props> = ({ editedManifest, s
useWhen(
wallet.isManaged && sdlDenom === "uakt",
() => {
setEditedManifest(prev => prev.replace(/uakt/g, managedDenom));
setEditedManifest(prev => (prev ? prev.replace(/uakt/g, managedDenom) : prev));
},
[editedManifest]
);
Expand Down

0 comments on commit 69880b0

Please sign in to comment.