Upgrade prettier and re-format codebase
This commit is contained in:
@@ -174,7 +174,7 @@ const MsgExecuteContractForm = ({
|
||||
label="Msg JSON"
|
||||
content={{ text: msgContent }}
|
||||
onChange={(newMsgContent, _, { contentErrors }) => {
|
||||
setMsgContent("text" in newMsgContent ? newMsgContent.text ?? "{}" : "{}");
|
||||
setMsgContent("text" in newMsgContent ? (newMsgContent.text ?? "{}") : "{}");
|
||||
jsonError.current = !!contentErrors;
|
||||
}}
|
||||
/>
|
||||
|
||||
@@ -252,7 +252,7 @@ const MsgInstantiateContract2Form = ({
|
||||
label="Msg JSON"
|
||||
content={{ text: msgContent }}
|
||||
onChange={(newMsgContent, _, { contentErrors }) => {
|
||||
setMsgContent("text" in newMsgContent ? newMsgContent.text ?? "{}" : "{}");
|
||||
setMsgContent("text" in newMsgContent ? (newMsgContent.text ?? "{}") : "{}");
|
||||
jsonError.current = !!contentErrors;
|
||||
}}
|
||||
/>
|
||||
|
||||
@@ -215,7 +215,7 @@ const MsgInstantiateContractForm = ({
|
||||
label="Msg JSON"
|
||||
content={{ text: msgContent }}
|
||||
onChange={(newMsgContent, _, { contentErrors }) => {
|
||||
setMsgContent("text" in newMsgContent ? newMsgContent.text ?? "{}" : "{}");
|
||||
setMsgContent("text" in newMsgContent ? (newMsgContent.text ?? "{}") : "{}");
|
||||
jsonError.current = !!contentErrors;
|
||||
}}
|
||||
/>
|
||||
|
||||
@@ -120,7 +120,7 @@ const MsgMigrateContractForm = ({
|
||||
label="Msg JSON"
|
||||
content={{ text: msgContent }}
|
||||
onChange={(newMsgContent, _, { contentErrors }) => {
|
||||
setMsgContent("text" in newMsgContent ? newMsgContent.text ?? "{}" : "{}");
|
||||
setMsgContent("text" in newMsgContent ? (newMsgContent.text ?? "{}") : "{}");
|
||||
jsonError.current = !!contentErrors;
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user