mirror of
https://github.com/Qortal/chrome-extension.git
synced 2025-02-14 11:15:49 +00:00
add gettimestamp at mount
This commit is contained in:
parent
699c2cd8f9
commit
30de534b83
@ -635,6 +635,13 @@ export const Group = ({
|
|||||||
} catch (error) {}
|
} catch (error) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
useEffect(()=> {
|
||||||
|
if(myAddress){
|
||||||
|
getGroupAnnouncements()
|
||||||
|
getTimestampEnterChat()
|
||||||
|
}
|
||||||
|
}, [myAddress])
|
||||||
|
|
||||||
const getGroupOwner = async (groupId) => {
|
const getGroupOwner = async (groupId) => {
|
||||||
try {
|
try {
|
||||||
const url = `${getBaseApiReact()}/groups/${groupId}`;
|
const url = `${getBaseApiReact()}/groups/${groupId}`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user