-
- {origin} would like to send the following transaction:
-
-
- {bs58.encode(message)}
-
+ {parsing ? (
+ <>
+
+
+
+ Parsing transaction:
+
+
+
+ {bs58.encode(message)}
+
+ >
+ ) : (
+ <>
+
+ {instructions
+ ? `${origin} wants to:`
+ : `Unknown transaction data`}
+
+ {instructions ? (
+ instructions.map((instruction) => (
+
+ {getContent(instruction)}
+
+
+ ))
+ ) : (
+
+ )}
+ >
+ )}