Skip to content

Commit

Permalink
set undefined instead of empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomendezroyo committed Sep 21, 2022
1 parent 007ea62 commit 45ec898
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function ConsensusClient({
onClick={
consensusClient.status === "ok"
? isSelected
? () => setNewConsClient({ dnpName: "" })
? () => setNewConsClient(undefined)
: () =>
setNewConsClient({
dnpName: consensusClient.dnpName,
Expand Down

0 comments on commit 45ec898

Please sign in to comment.