Skip to content

Commit

Permalink
Fixing release drafter (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
naps62 committed May 30, 2023
1 parent f83ddc8 commit dd89fd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/release-drafter.yml
Expand Up @@ -32,6 +32,8 @@ version-resolver:
- "patch"
default: patch

include-pre-releases: true

template: |
## Changes
Expand Down
4 changes: 0 additions & 4 deletions gui/src/components/ProviderWallets.tsx
Expand Up @@ -22,22 +22,18 @@ export function ProviderWallets({ children }: { children: ReactNode }) {
useInvoke<Wallet[]>("wallets_get_all");
const { data: currentWallet, mutate: mutateCurrentWallet } =
useInvoke<Wallet>("wallets_get_current");
console.log(currentWallet);

const value = {
wallets,
currentWallet,
setCurrentWallet: async (idx: number) => {
console.log("here");
console.log(wallets, currentWallet, idx);
if (
!wallets ||
!currentWallet ||
wallets[idx].name === currentWallet.name
)
return;

console.log("here");
await invoke("wallets_set_current_wallet", { idx });
mutateCurrentWallet();
},
Expand Down

0 comments on commit dd89fd4

Please sign in to comment.