mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
* migrate to biome * cleanup * fix * use tsx * script tweaks * fix test runs * path tweaks
11 lines
276 B
TypeScript
11 lines
276 B
TypeScript
import { $txHash } from '@/features/Web3/stores'
|
|
import { useStore } from '@nanostores/react'
|
|
import { Preview } from '../Preview'
|
|
import { Success } from '../Success'
|
|
|
|
export function Send() {
|
|
const txHash = useStore($txHash)
|
|
|
|
return txHash ? <Success /> : <Preview />
|
|
}
|