Skip to content

Commit

Permalink
Add account connect wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
wirednkod committed Aug 19, 2024
1 parent 59abc3e commit f48c9c9
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 322 deletions.
61 changes: 0 additions & 61 deletions build/assets/chains_polkadot-CP4ed89C.js

This file was deleted.

44 changes: 0 additions & 44 deletions build/assets/chains_polkadot_collectives-fzB9xFiE.js

This file was deleted.

1 change: 0 additions & 1 deletion build/assets/descriptors-BKZEIIXL-pQRFnDyR.js

This file was deleted.

1 change: 0 additions & 1 deletion build/assets/index-CNEnG0qc.css

This file was deleted.

206 changes: 0 additions & 206 deletions build/assets/index-eE1c8fa1.js

This file was deleted.

1 change: 0 additions & 1 deletion build/assets/metadataTypes-EBVDNRIL-BuVKfP_T.js

This file was deleted.

1 change: 0 additions & 1 deletion build/assets/smoldot_worker-kK54kzUU.js

This file was deleted.

4 changes: 2 additions & 2 deletions build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>DelegIt | Dashboard</title>
<script type="module" crossorigin src="/dashboard/assets/index-eE1c8fa1.js"></script>
<link rel="stylesheet" crossorigin href="/dashboard/assets/index-CNEnG0qc.css">
<script type="module" crossorigin src="/assets/index-DgiiU05m.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DrgX3Ic7.css">
</head>
<body>
<div id="root"></div>
Expand Down
7 changes: 2 additions & 5 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,11 @@ import { Toaster } from '@/components/ui/sonner'
import './index.css'
import { Content } from './Content'
import { AccountContext } from './contexts/AccountContext.ts'
import { Dispatch, SetStateAction, useState } from 'react'
import { useState } from 'react'
import { SelectedAccountType } from '@polkadot-ui/react'

const App = () => {
const [account, setAccount] = useState({
account: {} as SelectedAccountType,
setAccount: {} as Dispatch<SetStateAction<SelectedAccountType>>,
})
const [account, setAccount] = useState({} as SelectedAccountType)

const [settings] = useLocalStorage('fellowship-settings', {
themeMode: 'light',
Expand Down

0 comments on commit f48c9c9

Please sign in to comment.