1
0
mirror of https://github.com/kremalicious/blog.git synced 2025-02-14 21:10:25 +01:00
Matthias Kretschmann 05ad0470c2
migrate to biome (#944)
* migrate to biome

* cleanup

* fix

* use tsx

* script tweaks

* fix test runs

* path tweaks
2024-07-27 21:15:05 +01:00

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 />
}