diff --git a/src/lib/components/WatchListCard.svelte b/src/lib/components/WatchListCard.svelte index 1f13cc7e..d4b3e5a4 100644 --- a/src/lib/components/WatchListCard.svelte +++ b/src/lib/components/WatchListCard.svelte @@ -407,11 +407,13 @@ if(watchList && isLoaded) {#each watchList as item, index} - goto(`/${item?.type === 'stock' ? 'stocks' : item?.type === 'etf' ? 'etf' : 'crypto'}/${item?.symbol}`)} class="sm:hover:bg-[#245073] sm:hover:bg-opacity-[0.2] odd:bg-[#27272A] border-b-[#09090B] cursor-pointer"> + - - {item?.symbol} + + + {item?.symbol} + diff --git a/src/routes/hedge-funds/[slug]/+page.svelte b/src/routes/hedge-funds/[slug]/+page.svelte index 1256b087..9528c4e3 100644 --- a/src/routes/hedge-funds/[slug]/+page.svelte +++ b/src/routes/hedge-funds/[slug]/+page.svelte @@ -68,7 +68,7 @@ use([BarChart, GridComponent, TooltipComponent, CanvasRenderer]) // Handle default case if needed break; } - goto("/list/" + path); + return path } @@ -537,9 +537,11 @@ onMount(async () => { {#each rawData?.topSectors as item} {#each Object.entries(item) as [name, value]} - sectorSelector(name)} class="text-white cursor-pointer sm:hover:bg-[#245073] sm:hover:bg-opacity-[0.2] bg-[#141417] border-b border-[#141417]"> - - {name} + + + + {name} + {value?.toFixed(2)}%