Skip to content

Commit

Permalink
doc: update doc site
Browse files Browse the repository at this point in the history
  • Loading branch information
leanllg committed Sep 17, 2022
1 parent 008040b commit 461c8b1
Show file tree
Hide file tree
Showing 28 changed files with 1,744 additions and 8,716 deletions.
18 changes: 0 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,21 +139,3 @@ dist

# Content layer
.contentlayer

# Others
.DS_Store
Footer
© 2022 GitHub, Inc.
Footer navigation
Terms
Privacy
Security
Status
Docs
Contact GitHub
Pricing
API
Training
Blog
About
You have unread notifications
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
"version": "1.0.0",
"description": "",
"main": "index.js",
"overrides": {
"@vanilla-extract/vite-plugin": {
"vite": "^3"
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"vite": "^3"
}
}
},
"scripts": {
Expand Down
4 changes: 0 additions & 4 deletions packages/kit/src/wallets/latestWallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ class LatestWalletStorage {

const newValue = dedupe(this.wallets, name);

if (newValue.length > this.size) {
newValue.unshift();
}

localStorage.setItem(SUI_STORAGE_KEY, JSON.stringify(newValue));
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/src/wallets/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function WalletProvider({
(selectedWallet: Wallet | null) => {
setWallet(selectedWallet);
if (selectedWallet != null) {
localStorage.setItem('suiWallet', selectedWallet.adapter.name);
latestWallets.storeWalletName(selectedWallet.adapter.name);
} else {
localStorage.removeItem('suiWallet');
}
Expand Down
Loading

0 comments on commit 461c8b1

Please sign in to comment.