nicolium: increase staleTime for custom emoji query

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-03-02 20:16:00 +01:00
parent af5ef395ae
commit d7ab83082b

View File

@ -16,6 +16,7 @@ const customEmojisQueryOptions = (client: PlApiClient) =>
addCustomToPool(emojis);
return emojis;
}),
staleTime: 60 * 60 * 1000, // 1 hour
});
function useCustomEmojis<T>(select: (data: Array<CustomEmoji>) => T): UseQueryResult<T, Error>;