|
|
|
@ -5,7 +5,7 @@ import { usePrepareSendTransaction, useSendTransaction, useAccount } from 'wagmi
|
|
|
|
|
import Typewriter from 'react-ts-typewriter';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function Panel() {
|
|
|
|
|
export function Panel({ txt }) {
|
|
|
|
|
const { isConnected } = useAccount();
|
|
|
|
|
const { config } = usePrepareSendTransaction({
|
|
|
|
|
request: {
|
|
|
|
@ -17,7 +17,7 @@ export function Panel() {
|
|
|
|
|
return (
|
|
|
|
|
<Card elevation={Elevation.FOUR} className="mainPanel">
|
|
|
|
|
<p className="wrap">
|
|
|
|
|
<Typewriter text={"I need crack money and need it more than you. You'd just spend it on illiquid jpegs anyways..."} random={10} />
|
|
|
|
|
<Typewriter text={txt} random={10} />
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
<AwesomeButton ripple={true} disabled={!sendTransaction} onReleased={() => sendTransaction?.()}>
|
|
|
|
|