diff --git a/src/app/components/transaction.tsx b/src/app/components/transaction.tsx index 992ae6e..a1e980e 100644 --- a/src/app/components/transaction.tsx +++ b/src/app/components/transaction.tsx @@ -6,6 +6,12 @@ import { BlockfrostProvider, deserializeAddress } from "@meshsdk/core"; import { Button, TextField, Box, Typography, Container, Table, TableBody, TableCell, TableContainer, TableRow, Paper } from "@mui/material"; import * as CLS from "@emurgo/cardano-serialization-lib-browser"; import ReactJsonPretty from 'react-json-pretty'; +import dotevn from "dotenv"; +import { Underline } from "lucide-react"; + +dotevn.config(); + +const NEXT_PUBLIC_REST_IPFS_GATEWAY=process.env.NEXT_PUBLIC_REST_IPFS_GATEWAY; // Function to decode an unasigned transaction const decodeTransaction = (unsignedTransactionHex: string) => { @@ -230,7 +236,6 @@ export const TransactionButton = () => { }, [signature,unsignedTransaction]); return ( - {/* Transaction Input & Button */} @@ -240,7 +245,8 @@ export const TransactionButton = () => { variant="outlined" fullWidth value={unsignedTransactionHex} - onChange={(e) => {setUnsignedTransactionHex(e.target.value); + onChange={(e) => { + setUnsignedTransactionHex(e.target.value); setIsPartOfSigners(false); setIsOneVote(false); setHasCertificates(true); @@ -248,8 +254,8 @@ export const TransactionButton = () => { setHasICCCredentials(false); setIsInOutputPlutusData(false); setVoteResult(""); - setVoteID("") - }} + setVoteID(""); + }} />