Compare commits

..

No commits in common. "a911859841b91b679c4637180ac3d0c0982bafca" and "85055ff4c546604cf91c70e955d5c4df2287a210" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"name": "ghost-dao-interface",
"private": true,
"version": "0.7.58",
"version": "0.7.55",
"type": "module",
"scripts": {
"dev": "vite",

View File

@ -34,8 +34,8 @@ export const UnstableProviderProvider = ({ children }) => {
)
const account = useMemo(() => {
if (Array.isArray(accounts)) return accounts?.at(0)?.address;
if (typeof accounts === 'string') return accounts?.address;
if (Array.isArray(accounts)) return accounts.at(0).address;
if (typeof accounts === 'string') return accounts.address;
return undefined
}, [accounts])