add gettimestamp at mount

This commit is contained in:
PhilReact 2025-01-06 10:59:07 +02:00
parent d4f78403c6
commit 059f05ed20

View File

@ -554,6 +554,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}`;