remove dividend announcement
This commit is contained in:
parent
87976c1bb2
commit
b0f27c0ee1
@ -56,7 +56,6 @@ export const load = async ({ params, locals }) => {
|
|||||||
"/one-day-price",
|
"/one-day-price",
|
||||||
"/next-earnings",
|
"/next-earnings",
|
||||||
"/earnings-surprise",
|
"/earnings-surprise",
|
||||||
"/dividend-announcement",
|
|
||||||
"/stock-news",
|
"/stock-news",
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -77,7 +76,6 @@ export const load = async ({ params, locals }) => {
|
|||||||
getOneDayPrice,
|
getOneDayPrice,
|
||||||
getNextEarnings,
|
getNextEarnings,
|
||||||
getEarningsSurprise,
|
getEarningsSurprise,
|
||||||
getDividendAnnouncement,
|
|
||||||
getNews,
|
getNews,
|
||||||
getUserWatchlist,
|
getUserWatchlist,
|
||||||
] = await Promise.all(promises);
|
] = await Promise.all(promises);
|
||||||
@ -94,7 +92,6 @@ export const load = async ({ params, locals }) => {
|
|||||||
getOneDayPrice,
|
getOneDayPrice,
|
||||||
getNextEarnings,
|
getNextEarnings,
|
||||||
getEarningsSurprise,
|
getEarningsSurprise,
|
||||||
getDividendAnnouncement,
|
|
||||||
getNews,
|
getNews,
|
||||||
getUserWatchlist,
|
getUserWatchlist,
|
||||||
companyName: cleanString(getStockDeck?.companyName),
|
companyName: cleanString(getStockDeck?.companyName),
|
||||||
|
|||||||
@ -12,7 +12,6 @@
|
|||||||
wsAskPrice,
|
wsAskPrice,
|
||||||
currentPortfolioPrice,
|
currentPortfolioPrice,
|
||||||
stockTicker,
|
stockTicker,
|
||||||
displayCompanyName,
|
|
||||||
shouldUpdatePriceChart,
|
shouldUpdatePriceChart,
|
||||||
priceChartData,
|
priceChartData,
|
||||||
} from "$lib/store";
|
} from "$lib/store";
|
||||||
@ -23,7 +22,6 @@
|
|||||||
import News from "$lib/components/News.svelte";
|
import News from "$lib/components/News.svelte";
|
||||||
import NextEarnings from "$lib/components/NextEarnings.svelte";
|
import NextEarnings from "$lib/components/NextEarnings.svelte";
|
||||||
import EarningsSurprise from "$lib/components/EarningsSurprise.svelte";
|
import EarningsSurprise from "$lib/components/EarningsSurprise.svelte";
|
||||||
import DividendAnnouncement from "$lib/components/DividendAnnouncement.svelte";
|
|
||||||
import Sidecard from "$lib/components/Sidecard.svelte";
|
import Sidecard from "$lib/components/Sidecard.svelte";
|
||||||
|
|
||||||
import { convertTimestamp, abbreviateNumber } from "$lib/utils";
|
import { convertTimestamp, abbreviateNumber } from "$lib/utils";
|
||||||
@ -1391,16 +1389,6 @@
|
|||||||
<NextEarnings {data} />
|
<NextEarnings {data} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
|
||||||
class="w-full mt-10 sm:mt-0 m-auto sm:pl-6 sm:pb-6 {Object?.keys(
|
|
||||||
data?.getDividendAnnouncement || {},
|
|
||||||
)?.length !== 0
|
|
||||||
? ''
|
|
||||||
: 'hidden'}"
|
|
||||||
>
|
|
||||||
<DividendAnnouncement {data} />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="w-full mt-10 sm:mt-0 m-auto sm:pl-6 sm:pb-6 {Object?.keys(
|
class="w-full mt-10 sm:mt-0 m-auto sm:pl-6 sm:pb-6 {Object?.keys(
|
||||||
data?.getBullBearSay || {},
|
data?.getBullBearSay || {},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user