+
{$displayCompanyName} is scheduled to release its earnings on {new Date(rawData?.date ?? null)?.toLocaleString('en-US', {
month: 'short',
day: 'numeric',
diff --git a/src/routes/stocks/[tickerID]/+layout.server.ts b/src/routes/stocks/[tickerID]/+layout.server.ts
index 6c333ff7..83732917 100644
--- a/src/routes/stocks/[tickerID]/+layout.server.ts
+++ b/src/routes/stocks/[tickerID]/+layout.server.ts
@@ -1,7 +1,3 @@
-export const config = {
- runtime: "nodejs20.x",
-};
-
const cleanString = (input) => {
const substringsToRemove = [
"Depositary",
@@ -79,6 +75,7 @@ export const load = async ({ params, locals, cookies, setHeaders }) => {
"/one-day-price",
"/next-earnings",
"/earnings-surprise",
+ "/dividend-announcement",
];
const promises = [
@@ -101,6 +98,7 @@ export const load = async ({ params, locals, cookies, setHeaders }) => {
getOneDayPrice,
getNextEarnings,
getEarningsSurprise,
+ getDividendAnnouncement,
getUserWatchlist,
getCommunitySentiment,
] = await Promise.all(promises);
@@ -118,6 +116,7 @@ export const load = async ({ params, locals, cookies, setHeaders }) => {
getOneDayPrice,
getNextEarnings,
getEarningsSurprise,
+ getDividendAnnouncement,
getUserWatchlist,
getCommunitySentiment,
companyName: cleanString(getStockDeck?.at(0)?.companyName),
diff --git a/src/routes/stocks/[tickerID]/+page.svelte b/src/routes/stocks/[tickerID]/+page.svelte
index b7bd6dcf..012238e2 100644
--- a/src/routes/stocks/[tickerID]/+page.svelte
+++ b/src/routes/stocks/[tickerID]/+page.svelte
@@ -38,6 +38,7 @@
import BullBearSay from "$lib/components/BullBearSay.svelte";
import NextEarnings from "$lib/components/NextEarnings.svelte";
import EarningsSurprise from "$lib/components/EarningsSurprise.svelte";
+ import DividendAnnouncement from "$lib/components/DividendAnnouncement.svelte";
import CommunitySentiment from "$lib/components/CommunitySentiment.svelte";
import Lazy from "$lib/components/Lazy.svelte";
@@ -1072,6 +1073,10 @@ async function exportData(timePeriod:string) {
+
+