remove green dot (#5822)

This commit is contained in:
Thomas authored and GitHub committed 2026-05-29 23:41:40 +02:00
1 parent 9fc0e5f94c
commit ef27d739bb
45 files changed
+179 -319

No files matched your search

+3 -1
View File
@@ -25,7 +25,9 @@ function calculateChangePercentage(currentPrice: number, previousClose: number)
export default function StockPriceWidget({ options, width, height }: WidgetComponentProps<"stockPrice">) {
const t = useScopedI18n("widget.stockPrice");
const theme = useMantineTheme();
const { data: result } = clientApi.widget.stockPrice.getPriceHistory.useQuery(options);
const { data: result } = clientApi.widget.stockPrice.getPriceHistory.useQuery(options, {
staleTime: 5 * 60 * 1000,
});
if (!result) return <WidgetEmptyState />;
const { data } = result;