2025-07-04 13:22:19 +00:00
|
|
|
<script lang="ts">
|
|
|
|
|
import Confirm from "@lib/components/Confirm.svelte"
|
2026-07-28 16:16:26 +00:00
|
|
|
import {wallet} from "@app/lightning"
|
2026-06-08 21:14:40 +00:00
|
|
|
import {clearModals} from "@app/modal"
|
2025-07-04 13:22:19 +00:00
|
|
|
|
|
|
|
|
const confirm = async () => {
|
2026-07-28 16:16:26 +00:00
|
|
|
wallet.set(undefined)
|
2025-07-04 13:22:19 +00:00
|
|
|
|
|
|
|
|
clearModals()
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<Confirm
|
|
|
|
|
{confirm}
|
|
|
|
|
title="Disconnect Wallet"
|
|
|
|
|
message="Are you sure you want to disconnect your bitcoin wallet?" />
|