Skip to content

Commit eb23dd8

Browse files
committed
fix: remove closing the single invoice when network change
1 parent c9535d3 commit eb23dd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/invoice-dashboard/src/lib/view-requests.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,15 @@
142142
) {
143143
getRequests();
144144
previousWalletAddress = currentWalletAddress;
145+
146+
activeRequest = undefined;
145147
}
146148
147149
if (currentNetwork && currentNetwork !== previousNetwork) {
148150
previousNetwork = currentNetwork;
149151
}
150152
}
151153
152-
$: wallet, (activeRequest = undefined);
153-
154154
$: {
155155
if (sortColumn && sortOrder) {
156156
requests = [...(requests ?? [])].sort((a, b) => {

0 commit comments

Comments
 (0)