Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
daoauth committed Dec 29, 2024
1 parent 7c501d0 commit a31595a
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
65 changes: 65 additions & 0 deletions src/webview/activitybar/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/webview/activitybar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"@aptos-labs/ts-sdk": "^1.33.1",
"@vscode/webview-ui-toolkit": "^1.4.0",
"bignumber.js": "^9.1.2",
"buffer": "^6.0.3",
"crypto-js": "^4.2.0",
"jose": "^5.9.6",
"querystring": "^0.2.1",
Expand Down
3 changes: 3 additions & 0 deletions src/webview/activitybar/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useEffect, useRef, useState } from 'react';
import { useRecoilState } from 'recoil';
import { Aptos, AptosConfig } from '@aptos-labs/ts-sdk';
import { Buffer } from 'buffer';

import './App.css';

Expand All @@ -12,6 +13,8 @@ import { Workspace } from './components/Workspace';
import { COMMENDS } from './utilities/commends';
import { STATE } from './recoil';

window.Buffer = Buffer;

function App() {
const initialized = useRef<boolean>(false);
const [hasTerminal, setHasTerminal] = useState<boolean>(false);
Expand Down

0 comments on commit a31595a

Please sign in to comment.