Skip to content

Commit

Permalink
fix: request for react in non react projects (#163)
Browse files Browse the repository at this point in the history
Co-authored-by: Darren Kelly <[email protected]>
  • Loading branch information
davidecarpini and darrenvechain authored Jan 3, 2024
1 parent ed57797 commit ca559ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createContext, provide } from '@lit/context';
import { html, LitElement, type TemplateResult } from 'lit';
import { customElement, property } from 'lit/decorators.js';
import { subscribeKey } from 'valtio/utils';
import { subscribeKey } from 'valtio/vanilla/utils';
import { DAppKitUI } from '../../client';

export interface DappKitContext {
Expand Down
2 changes: 1 addition & 1 deletion packages/dapp-kit-ui/src/modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type {
WCModal,
} from '@vechain/dapp-kit';
import { DAppKitLogger } from '@vechain/dapp-kit';
import { subscribeKey } from 'valtio/utils';
import { subscribeKey } from 'valtio/vanilla/utils';
import { dispatchCustomEvent, subscribeToCustomEvent } from './utils';

const MODAL_STATE_EVENT = 'vwk-modal-state-change';
Expand Down
4 changes: 2 additions & 2 deletions packages/dapp-kit/src/wallet-manager.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { proxy, subscribe } from 'valtio';
import { subscribeKey } from 'valtio/utils';
import { proxy, subscribe } from 'valtio/vanilla';
import { subscribeKey } from 'valtio/vanilla/utils';
import type {
ConnectResponse,
ConnexWallet,
Expand Down

0 comments on commit ca559ad

Please sign in to comment.