mirror of
https://github.com/kremalicious/blog.git
synced 2024-06-28 16:48:00 +02:00
11 lines
275 B
TypeScript
11 lines
275 B
TypeScript
import { useStore } from '@nanostores/react'
|
|
import { $txHash } from '@features/Web3/stores'
|
|
import { Success } from '../Success'
|
|
import { Preview } from '../Preview'
|
|
|
|
export function Send() {
|
|
const txHash = useStore($txHash)
|
|
|
|
return txHash ? <Success /> : <Preview />
|
|
}
|