|
|
@ -5,7 +5,7 @@ import { usePrepareSendTransaction, useSendTransaction, useAccount } from 'wagmi
|
|
|
|
import Typewriter from 'react-ts-typewriter';
|
|
|
|
import Typewriter from 'react-ts-typewriter';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function Panel() {
|
|
|
|
export function Panel({ txt }) {
|
|
|
|
const { isConnected } = useAccount();
|
|
|
|
const { isConnected } = useAccount();
|
|
|
|
const { config } = usePrepareSendTransaction({
|
|
|
|
const { config } = usePrepareSendTransaction({
|
|
|
|
request: {
|
|
|
|
request: {
|
|
|
@ -17,7 +17,7 @@ export function Panel() {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<Card elevation={Elevation.FOUR} className="mainPanel">
|
|
|
|
<Card elevation={Elevation.FOUR} className="mainPanel">
|
|
|
|
<p className="wrap">
|
|
|
|
<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>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
|
<AwesomeButton ripple={true} disabled={!sendTransaction} onReleased={() => sendTransaction?.()}>
|
|
|
|
<AwesomeButton ripple={true} disabled={!sendTransaction} onReleased={() => sendTransaction?.()}>
|
|
|
|