Skip to content

Commit

Permalink
fix(webapp): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tetogomez committed Nov 18, 2022
1 parent 12d2ad6 commit 2d64198
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 605 deletions.
11 changes: 3 additions & 8 deletions webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@
"@mui/lab": "^5.0.0-alpha.90",
"@mui/material": "^5.9.0",
"@mui/styles": "^5.9.0",
"@rematch/core": "^1.4.0",
"@rematch/loading": "^1.2.1",
"@rematch/core": "^2.2.0",
"@rematch/loading": "^2.1.2",
"apollo-cache-inmemory": "^1.6.6",
"apollo-client": "^2.6.10",
"apollo-link": "^1.2.14",
"apollo-link-context": "^1.0.20",
"apollo-link-http": "^1.5.17",
"apollo-link-ws": "^1.0.20",
"apollo-utilities": "^1.3.4",
"axios": "^0.19.2",
"axios": "^1.1.3",
"clsx": "^1.1.1",
"core-js": "^3.18.2",
"d3-force": "^2.1.1",
Expand Down Expand Up @@ -84,11 +84,6 @@
"styled-components": "^5.2.0",
"subscriptions-transport-ws": "^0.9.17",
"ual-anchor": "^1.0.6",
"ual-ledger": "^0.3.0",
"ual-lynx": "^0.4.0",
"ual-meetone": "^0.1.1",
"ual-scatter": "^0.3.0",
"ual-token-pocket": "^0.3.0",
"universal-authenticator-library": "^0.3.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions webapp/src/components/Header/AuthButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import useAuthBottonState from './useAuthBottonState'

const AuthButton = ({ classes }) => {
const { t } = useTranslation()
const [{ state }, { handleOpenMenu, handleCloseMenu, handleSignOut, login }] =
const [{ state }, { handleCloseMenu, handleSignOut, login }] =
useAuthBottonState()

return (
Expand All @@ -32,7 +32,7 @@ const AuthButton = ({ classes }) => {
</>
) : (
<Button
onClick={handleOpenMenu}
onClick={() => login('anchor')}
className={classes.loginBtn}
startIcon={<FingerprintIcon />}
>
Expand Down
18 changes: 8 additions & 10 deletions webapp/src/config/ual.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { TokenPocket } from 'ual-token-pocket'
import { Anchor } from 'ual-anchor'

const appName = process.env.REACT_APP_EOS_APP_NAME || 'eosiodashboard'
Expand All @@ -10,18 +9,17 @@ const network = {
{
blockchain: 'eos',
protocol: process.env.REACT_APP_EOS_API_PROTOCOL || 'https',
host: JSON.parse(process.env.REACT_APP_EOS_API_HOSTS)[0] || 'jungle.edenia.cloud',
port: parseInt(process.env.REACT_APP_EOS_API_PORT || '443')
}
]
host:
JSON.parse(process.env.REACT_APP_EOS_API_HOSTS)[0] ||
'jungle.edenia.cloud',
port: parseInt(process.env.REACT_APP_EOS_API_PORT || '443'),
},
],
}
const authenticators = [
new TokenPocket([network]),
new Anchor([network], { appName })
]
const authenticators = [new Anchor([network], { appName })]

export const ualConfig = {
appName,
network,
authenticators
authenticators,
}
2 changes: 1 addition & 1 deletion webapp/src/routes/Accounts/useAccountState.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const useAccountState = () => {
}
dispatch({ payload: false, type: 'SET_LOADING' })
},
[showMessage, t],
[showMessage, t, state.tableData],
)

const handleOnSearch = async (valueAccount) => {
Expand Down
Loading

0 comments on commit 2d64198

Please sign in to comment.