mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-10 18:26:58 +00:00
fix css
This commit is contained in:
parent
dd589d7a2e
commit
141298cbec
@ -157,6 +157,7 @@ export const getPublishesFromAdmins = async (admins: string[], groupId) => {
|
|||||||
return dateB.getTime() - dateA.getTime();
|
return dateB.getTime() - dateA.getTime();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
return sortedData[0];
|
return sortedData[0];
|
||||||
};
|
};
|
||||||
interface GroupProps {
|
interface GroupProps {
|
||||||
@ -242,6 +243,7 @@ export const getGroupMembers = async (groupNumber: number) => {
|
|||||||
return groupData;
|
return groupData;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export const decryptResource = async (data: string) => {
|
export const decryptResource = async (data: string) => {
|
||||||
try {
|
try {
|
||||||
return new Promise((res, rej) => {
|
return new Promise((res, rej) => {
|
||||||
@ -519,6 +521,8 @@ export const Group = ({
|
|||||||
selectedDirectRef.current = selectedDirect;
|
selectedDirectRef.current = selectedDirect;
|
||||||
}, [selectedDirect]);
|
}, [selectedDirect]);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const getUserSettings = async () => {
|
const getUserSettings = async () => {
|
||||||
try {
|
try {
|
||||||
return new Promise((res, rej) => {
|
return new Promise((res, rej) => {
|
||||||
@ -753,8 +757,9 @@ export const Group = ({
|
|||||||
if (
|
if (
|
||||||
secretKeyToPublish &&
|
secretKeyToPublish &&
|
||||||
secretKey &&
|
secretKey &&
|
||||||
lastFetchedSecretKey.current &&
|
lastFetchedSecretKey.current
|
||||||
Date.now() - lastFetchedSecretKey.current < 1800000
|
&&
|
||||||
|
Date.now() - lastFetchedSecretKey.current < 600000
|
||||||
)
|
)
|
||||||
return secretKey;
|
return secretKey;
|
||||||
if (loadingGroupParam) {
|
if (loadingGroupParam) {
|
||||||
@ -2505,7 +2510,7 @@ export const Group = ({
|
|||||||
style={{
|
style={{
|
||||||
display: "flex",
|
display: "flex",
|
||||||
width: "100%",
|
width: "100%",
|
||||||
height: "100$",
|
height: "100%",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
alignItems: "flex-start",
|
alignItems: "flex-start",
|
||||||
padding: "20px",
|
padding: "20px",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user