pull/434/head
Tim Pechersky 2021-11-16 00:59:44 +00:00
rodzic d3afdffaec
commit b0cb31860a
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -218,6 +218,7 @@ const Analytics = () => {
url={s3PresignedURLs[timeRange]}
id={v4()}
type={v4()}
refetchLinks={dashboardLinksCache.refetch}
/>
</Flex>
);

Wyświetl plik

@ -12,12 +12,13 @@ timeMap[HOUR_KEY] = "hour";
timeMap[DAY_KEY] = "day";
timeMap[WEEK_KEY] = "week";
const SubscriptionReport = ({ timeRange, url, id, type }) => {
const SubscriptionReport = ({ timeRange, url, id, type, refetchLinks }) => {
const { data, isLoading } = usePresignedURL({
url: url,
isEnabled: true,
id: id,
type: type,
requestNewURLCallback: refetchLinks,
});
const plotMinW = "500px";
if (!data || isLoading) return <Spinner />;