mirror of
https://github.com/Qortal/qortal-mobile.git
synced 2025-03-15 04:12:32 +00:00
fixes
This commit is contained in:
parent
5121580d52
commit
9ef74d7a42
@ -2301,6 +2301,7 @@ function App() {
|
||||
onClick={() => {
|
||||
setRawWallet(null);
|
||||
setExtstate("not-authenticated");
|
||||
logoutFunc()
|
||||
}}
|
||||
src={Return}
|
||||
/>
|
||||
|
@ -162,7 +162,7 @@ export const ListOfGroupPromotions = () => {
|
||||
});
|
||||
|
||||
await Promise.all(getPromos);
|
||||
const groupWithInfo = await getGroupNames(data);
|
||||
const groupWithInfo = await getGroupNames(data.sort((a, b) => b.created - a.created));
|
||||
setPromotions(groupWithInfo);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
@ -559,10 +559,10 @@ export const ListOfGroupPromotions = () => {
|
||||
}}
|
||||
>
|
||||
<Button
|
||||
variant="contained"
|
||||
onClick={(event) => handlePopoverOpen(event, promotion?.groupId)}
|
||||
sx={{
|
||||
fontSize: "12px",
|
||||
color: 'white'
|
||||
}}
|
||||
>
|
||||
Join Group: {` ${promotion?.groupName}`}
|
||||
@ -698,7 +698,7 @@ export const ListOfGroupPromotions = () => {
|
||||
aria-describedby="alert-dialog-description"
|
||||
>
|
||||
<DialogTitle id="alert-dialog-title">
|
||||
{"Publish Group Promotion"}
|
||||
{"Promote your group to non-members"}
|
||||
</DialogTitle>
|
||||
<DialogContent>
|
||||
<DialogContentText id="alert-dialog-description">
|
||||
|
@ -49,9 +49,9 @@ export const ThingsToDoInitial = ({ myAddress, name, hasGroups, balance , userIn
|
||||
}, [name]);
|
||||
|
||||
const isLoaded = React.useMemo(()=> {
|
||||
if(balance !== null && userInfo !== null) return true
|
||||
if(userInfo !== null) return true
|
||||
return false
|
||||
}, [balance, userInfo])
|
||||
}, [ userInfo])
|
||||
|
||||
const hasDoneNameAndBalanceAndIsLoaded = React.useMemo(()=> {
|
||||
if(isLoaded && checked1 && checked2) return true
|
||||
|
Loading…
x
Reference in New Issue
Block a user